Enum
VkRayTracingLssIndexingModeNV
LSS indexing mode
Chaining LSS primitives can be achieved by specifying an index buffer in
VkAccelerationStructureGeometryLinearSweptSpheresDataNV::indexData
and setting
VkAccelerationStructureGeometryLinearSweptSpheresDataNV::indexingMode
to one of VkRayTracingLssIndexingModeNV
values:
typedef enum VkRayTracingLssIndexingModeNV {
VK_RAY_TRACING_LSS_INDEXING_MODE_LIST_NV = 0,
VK_RAY_TRACING_LSS_INDEXING_MODE_SUCCESSIVE_NV = 1,
} VkRayTracingLssIndexingModeNV;
VK_RAY_TRACING_LSS_INDEXING_MODE_LIST_NV
specifies that a list of indices is provided where each consecutive pair of indices define a LSS primitive.VK_RAY_TRACING_LSS_INDEXING_MODE_SUCCESSIVE_NV
specifies a successive implicit indexing format, in which each LSS primitive is defined by two successive positions and radii, (k, k + 1), where k is a single index provided in the index buffer. In this indexing scheme, there is a 1:1 mapping between the index buffer and primitive index within the geometry.