namespace Brutal.VulkanApi { /// /// VkClusterAccelerationStructureTriangleClusterInputNV - Parameters describing a cluster acceleration structure /// /// /// /// :refpage: VkClusterAccelerationStructureTriangleClusterInputNV /// /// /// The VkClusterAccelerationStructureTriangleClusterInputNV structure is /// defined as: /// /// /// // Provided by VK_NV_cluster_acceleration_structure /// typedef struct VkClusterAccelerationStructureTriangleClusterInputNV { /// VkStructureType sType; /// void* pNext; /// VkFormat vertexFormat; /// uint32_t maxGeometryIndexValue; /// uint32_t maxClusterUniqueGeometryCount; /// uint32_t maxClusterTriangleCount; /// uint32_t maxClusterVertexCount; /// uint32_t maxTotalTriangleCount; /// uint32_t maxTotalVertexCount; /// uint32_t minPositionTruncateBitCount; /// } VkClusterAccelerationStructureTriangleClusterInputNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 48)] public unsafe partial struct VkClusterAccelerationStructureTriangleClusterInputNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.ClusterAccelerationStructureTriangleClusterInputNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// VertexFormat is the VkFormat of each vertex element. /// [FieldOffset(16)] public VkFormat VertexFormat; /// /// MaxGeometryIndexValue is the maximum geometry index value for any constructed geometry. /// [FieldOffset(20)] public int MaxGeometryIndexValue; /// /// MaxClusterUniqueGeometryCount is the maximum number of unique values of the geometry index for each cluster or cluster template. /// [FieldOffset(24)] public int MaxClusterUniqueGeometryCount; /// /// MaxClusterTriangleCount /// [FieldOffset(28)] public int MaxClusterTriangleCount; /// /// MaxClusterVertexCount is the maximum number of unique vertices in the cluster's index buffer. /// [FieldOffset(32)] public int MaxClusterVertexCount; /// /// MaxTotalTriangleCount is the sum of all triangles across all clusters or cluster templates. /// [FieldOffset(36)] public int MaxTotalTriangleCount; /// /// MaxTotalVertexCount is the maximum number of vertices across all clusters or cluster templates. /// [FieldOffset(40)] public int MaxTotalVertexCount; /// /// MinPositionTruncateBitCount /// [FieldOffset(44)] public int MinPositionTruncateBitCount; } }