namespace Brutal.VulkanApi { /// /// VkAccelerationStructureTrianglesOpacityMicromapKHR - Structure specifying an opacity micromap in a bottom-level acceleration structure /// /// /// /// :refpage: VkAccelerationStructureTrianglesOpacityMicromapKHR /// /// /// The VkAccelerationStructureTrianglesOpacityMicromapKHR structure is /// defined as: /// /// /// // Provided by VK_KHR_opacity_micromap /// typedef struct VkAccelerationStructureTrianglesOpacityMicromapKHR { /// VkStructureType sType; /// void* pNext; /// VkIndexType indexType; /// VkDeviceAddress indexBuffer; /// VkDeviceSize indexStride; /// uint32_t baseTriangle; /// VkAccelerationStructureKHR micromap; /// } VkAccelerationStructureTrianglesOpacityMicromapKHR; /// /// [StructLayout(LayoutKind.Explicit, Size = 56)] public unsafe partial struct VkAccelerationStructureTrianglesOpacityMicromapKHR() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AccelerationStructureTrianglesOpacityMicromapKHR; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// IndexType is the type of triangle indices used when indexing this micromap /// [FieldOffset(16)] public VkIndexType IndexType; /// /// IndexBuffer is the address containing the triangle indices /// [FieldOffset(24)] public VkDeviceAddress IndexBuffer; /// /// IndexStride is the byte stride between triangle indices /// [FieldOffset(32)] public ByteSize64 IndexStride; /// /// BaseTriangle is the base value added to the non-negative triangle indices /// [FieldOffset(40)] public int BaseTriangle; /// /// Micromap is the handle to the micromap object to include in this geometry /// [FieldOffset(48)] public VkAccelerationStructureKHR Micromap; } }