namespace Brutal.VulkanApi { /// /// VkAccelerationStructureGeometryLinearSweptSpheresDataNV - Structure specifying a LSS geometry in a bottom-level acceleration structure /// /// /// /// :refpage: VkAccelerationStructureGeometryLinearSweptSpheresDataNV /// /// /// If VkAccelerationStructureGeometryLinearSweptSpheresDataNV is included /// in the pNext chain of a VkAccelerationStructureGeometryKHR /// structure, then that structures defines the linear swept sphere's (LSS) /// geometry data. /// /// /// The VkAccelerationStructureGeometryLinearSweptSpheresDataNV structure /// is defined as: /// /// /// // Provided by VK_NV_ray_tracing_linear_swept_spheres /// typedef struct VkAccelerationStructureGeometryLinearSweptSpheresDataNV { /// VkStructureType sType; /// const void* pNext; /// VkFormat vertexFormat; /// VkDeviceOrHostAddressConstKHR vertexData; /// VkDeviceSize vertexStride; /// VkFormat radiusFormat; /// VkDeviceOrHostAddressConstKHR radiusData; /// VkDeviceSize radiusStride; /// VkIndexType indexType; /// VkDeviceOrHostAddressConstKHR indexData; /// VkDeviceSize indexStride; /// VkRayTracingLssIndexingModeNV indexingMode; /// VkRayTracingLssPrimitiveEndCapsModeNV endCapsMode; /// } VkAccelerationStructureGeometryLinearSweptSpheresDataNV; /// /// [StructLayout(LayoutKind.Explicit, Size = 96)] public unsafe partial struct VkAccelerationStructureGeometryLinearSweptSpheresDataNV() { /// /// sType is a VkStructureType value identifying this structure. /// [FieldOffset(0)] internal readonly VkStructureType sType = VkStructureType.AccelerationStructureGeometryLinearSweptSpheresDataNV; /// /// Next is `NULL` or a pointer to a structure extending this structure. /// [FieldOffset(8)] public void* Next; /// /// VertexFormat is the VkFormat of each LSS vertex element. /// [FieldOffset(16)] public VkFormat VertexFormat; /// /// VertexData is a device or host address of memory containing vertex data for this geometry. /// [FieldOffset(24)] public VkDeviceOrHostAddressConstKHR VertexData; /// /// VertexStride is the stride in bytes between each vertex element. /// [FieldOffset(32)] public ByteSize64 VertexStride; /// /// RadiusFormat is the VkFormat of each LSS radius. /// [FieldOffset(40)] public VkFormat RadiusFormat; /// /// RadiusData is a device or host address of memory containing LSS radius data value. /// [FieldOffset(48)] public VkDeviceOrHostAddressConstKHR RadiusData; /// /// RadiusStride is the stride in bytes between each radius value. /// [FieldOffset(56)] public ByteSize64 RadiusStride; /// /// IndexType is the VkIndexType of each index element. /// [FieldOffset(64)] public VkIndexType IndexType; /// /// IndexData is a device or host address of memory containing index data for vertex and radius buffers for this geometry. When indexType is VK_INDEX_TYPE_NONE_KHR it must be `NULL`. /// [FieldOffset(72)] public VkDeviceOrHostAddressConstKHR IndexData; /// /// IndexStride is the stride in bytes between each index element. /// [FieldOffset(80)] public ByteSize64 IndexStride; /// /// IndexingMode is a VkRayTracingLssIndexingModeNV value specifying the mode of indexing. /// [FieldOffset(88)] public VkRayTracingLssIndexingModeNV IndexingMode; /// /// EndCapsMode is a VkRayTracingLssPrimitiveEndCapsModeNV value specifying the endcaps mode for LSS primitives. /// [FieldOffset(92)] public VkRayTracingLssPrimitiveEndCapsModeNV EndCapsMode; } }