BLASTriangleDesc struct
Defines bottom level acceleration structure triangles description.
Contents
- Reference
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::
Uint8 Diligent:: BLASTriangleDesc:: VertexComponentCount
The number of components in the vertex.