Defines bottom level acceleration structure triangles description. More...
#include <BottomLevelAS.h>
Public Attributes | |
| const Char * | GeometryName = nullptr |
| Geometry name. | |
| Uint32 | MaxVertexCount = 0 |
| The maximum vertex count in this geometry. | |
| VALUE_TYPE | VertexValueType = VT_UNDEFINED |
| The type of vertices in this geometry, see Diligent::VALUE_TYPE. | |
| Uint8 | VertexComponentCount = 0 |
| The number of components in the vertex. | |
| Uint32 | MaxPrimitiveCount = 0 |
| The maximum primitive count in this geometry. | |
| VALUE_TYPE | IndexType = VT_UNDEFINED |
| Index type of this geometry, see Diligent::VALUE_TYPE. | |
| Bool | AllowsTransforms = False |
| Vulkan only, allows to use transformations in BLASBuildTriangleData. | |
Defines bottom level acceleration structure triangles description.
Triangle geometry description.
| const Char* Diligent::BLASTriangleDesc::GeometryName = nullptr |
Geometry name.
The name is used to map triangle data (BLASBuildTriangleData) to this geometry.
| VALUE_TYPE Diligent::BLASTriangleDesc::IndexType = VT_UNDEFINED |
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.
| Uint32 Diligent::BLASTriangleDesc::MaxPrimitiveCount = 0 |
The maximum primitive count in this geometry.
The current number of primitives is defined in BLASBuildTriangleData::PrimitiveCount.
| Uint32 Diligent::BLASTriangleDesc::MaxVertexCount = 0 |
The maximum vertex count in this geometry.
Current number of vertices is defined in BLASBuildTriangleData::VertexCount.
| Uint8 Diligent::BLASTriangleDesc::VertexComponentCount = 0 |
The number of components in the vertex.
| VALUE_TYPE Diligent::BLASTriangleDesc::VertexValueType = VT_UNDEFINED |
The type of vertices in this geometry, see Diligent::VALUE_TYPE.