namespace Brutal.VulkanApi { /// /// VkTensorDescriptionARM - Structure describing a tensor /// /// /// /// The VkTensorDescriptionARM structure is defined as: /// /// /// // Provided by VK_ARM_tensors /// typedef struct VkTensorDescriptionARM { /// VkStructureType sType; /// const void* pNext; /// VkTensorTilingARM tiling; /// VkFormat format; /// uint32_t dimensionCount; /// const int64_t* pDimensions; /// const int64_t* pStrides; /// VkTensorUsageFlagsARM usage; /// } VkTensorDescriptionARM; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkTensorDescriptionARM() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.TensorDescriptionARM; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// Tiling is a VkTensorTilingARM value specifying the tiling of the tensor /// [FieldOffset(16)] public VkTensorTilingARM Tiling; /// /// Format is a one component VkFormat describing the format and type of the data elements that will be contained in the tensor. /// [FieldOffset(20)] public VkFormat Format; /// /// DimensionCount is the number of dimensions for the tensor. /// [FieldOffset(24)] public int DimensionCount; /// /// Dimensions is a pointer to an array of integers of size dimensionCount providing the number of data elements in each dimension. /// [FieldOffset(32)] public long* Dimensions; /// /// Strides is either `NULL` or is an array of size dimensionCount providing the strides in bytes for the tensor in each dimension. /// [FieldOffset(40)] public long* Strides; /// /// Usage is a bitmask of VkTensorUsageFlagsARM specifying the usage of the tensor. /// [FieldOffset(48)] public VkTensorUsageFlagsARM Usage; } }