namespace Brutal.VulkanApi { /// /// VkGeometryAABBNV - Structure specifying axis-aligned bounding box geometry in a bottom-level acceleration structure /// /// /// /// :refpage: VkGeometryAABBNV /// /// /// The VkGeometryAABBNV structure specifies axis-aligned bounding box /// geometry in a bottom-level acceleration structure, and is defined as: /// /// /// // Provided by VK_NV_ray_tracing /// typedef struct VkGeometryAABBNV { /// VkStructureType sType; /// const void* pNext; /// VkBuffer aabbData; /// uint32_t numAABBs; /// uint32_t stride; /// VkDeviceSize offset; /// } VkGeometryAABBNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 40)] public unsafe partial struct VkGeometryAabbNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.GeometryAabbNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// AabbData is the buffer containing axis-aligned bounding box data. /// [FieldOffset(16)] public VkBuffer AabbData; /// /// NumAABBs is the number of AABBs in this geometry. /// [FieldOffset(24)] public int NumAABBs; /// /// Stride is the stride in bytes between AABBs in aabbData. /// [FieldOffset(28)] public int Stride; /// /// Offset is the offset in bytes of the first AABB in aabbData. /// [FieldOffset(32)] public ByteSize64 Offset; } }