Diligent::BLASTriangleDesc struct

Defines bottom level acceleration structure triangles description.

Contents

Triangle geometry description.

Public variables

const char* GeometryName
Geometry name. The name is used to map triangle data (BLASBuildTriangleData) to this geometry.
Uint32 MaxVertexCount
The maximum vertex count in this geometry. Current number of vertices is defined in BLASBuildTriangleData::VertexCount.
VALUE_TYPE VertexValueType
The type of vertices in this geometry, see Diligent::VALUE_TYPE.
Uint8 VertexComponentCount
The number of components in the vertex.
Uint32 MaxPrimitiveCount
The maximum primitive count in this geometry. The current number of primitives is defined in BLASBuildTriangleData::PrimitiveCount.
VALUE_TYPE IndexType
Index type of this geometry, see Diligent::VALUE_TYPE. Must be VT_UINT16, VT_UINT32 or VT_UNDEFINED. If not defined then vertex array is used instead of indexed vertices.
Bool AllowsTransforms
Vulkan only, allows to use transformations in BLASBuildTriangleData.

Variable documentation

VALUE_TYPE Diligent::BLASTriangleDesc::VertexValueType

The type of vertices in this geometry, see Diligent::VALUE_TYPE.

Uint8 Diligent::BLASTriangleDesc::VertexComponentCount

The number of components in the vertex.