namespace Brutal.VulkanApi { /// /// VkConvertCooperativeVectorMatrixInfoNV - Structure specifying a request to convert the layout and type of a cooperative vector matrix /// /// /// /// Each VkConvertCooperativeVectorMatrixInfoNV structure describes a /// request to convert the layout and type of a cooperative vector matrix. /// /// /// The VkConvertCooperativeVectorMatrixInfoNV structure is defined as: /// /// /// // Provided by VK_NV_cooperative_vector /// typedef struct VkConvertCooperativeVectorMatrixInfoNV { /// VkStructureType sType; /// const void* pNext; /// size_t srcSize; /// VkDeviceOrHostAddressConstKHR srcData; /// size_t* pDstSize; /// VkDeviceOrHostAddressKHR dstData; /// VkComponentTypeKHR srcComponentType; /// VkComponentTypeKHR dstComponentType; /// uint32_t numRows; /// uint32_t numColumns; /// VkCooperativeVectorMatrixLayoutNV srcLayout; /// size_t srcStride; /// VkCooperativeVectorMatrixLayoutNV dstLayout; /// size_t dstStride; /// } VkConvertCooperativeVectorMatrixInfoNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 96)] public unsafe partial struct VkConvertCooperativeVectorMatrixInfoNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ConvertCooperativeVectorMatrixInfoNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// SrcSize is the length in bytes of srcData. /// [FieldOffset(16)] public nuint SrcSize; /// /// SrcData is either `NULL` or a pointer to the source data in the source layout. /// [FieldOffset(24)] public VkDeviceOrHostAddressConstKHR SrcData; /// /// DstSize is a pointer to an integer related to the number of bytes required or requested to convert. /// [FieldOffset(32)] public nuint* DstSize; /// /// DstData is either `NULL` or a pointer to the destination data in the destination layout. /// [FieldOffset(40)] public VkDeviceOrHostAddressKHR DstData; /// /// SrcComponentType is the type of a source matrix element. /// [FieldOffset(48)] public VkComponentTypeKHR SrcComponentType; /// /// DstComponentType is the type of a destination matrix element. /// [FieldOffset(52)] public VkComponentTypeKHR DstComponentType; /// /// NumRows is the number of rows in the matrix. /// [FieldOffset(56)] public int NumRows; /// /// NumColumns is the number of columns in the matrix. /// [FieldOffset(60)] public int NumColumns; /// /// SrcLayout is the layout of the source matrix. /// [FieldOffset(64)] public VkCooperativeVectorMatrixLayoutNV SrcLayout; /// /// SrcStride is the number of bytes between a consecutive row or column (depending on srcLayout) of the source matrix, if it is row-major or column-major. /// [FieldOffset(72)] public nuint SrcStride; /// /// DstLayout is the layout the matrix is converted to. /// [FieldOffset(80)] public VkCooperativeVectorMatrixLayoutNV DstLayout; /// /// DstStride is the number of bytes between a consecutive row or column (depending on dstLayout) of destination matrix, if it is row-major or column-major. /// [FieldOffset(88)] public nuint DstStride; } }