TriangleGeometrySetup struct
Bottom-level acceleration structure geometry containing triangles.
Constructors, destructors, conversion operators
- TriangleGeometrySetup(uint32_t maxTriangleCount, Format vertexFormat, uint32_t maxVertexIndex, IndexType indexType, bool hasTransform, GeometryFlagMask flags = {})
Function documentation
tp:: TriangleGeometrySetup:: TriangleGeometrySetup(uint32_t maxTriangleCount,
Format vertexFormat,
uint32_t maxVertexIndex,
IndexType indexType,
bool hasTransform,
GeometryFlagMask flags = {})
| Parameters | |
|---|---|
| maxTriangleCount | The maximum number of triangles this geometry can hold. |
| vertexFormat | The format of each vertex element. |
| maxVertexIndex | The largest vertex index present in the index data. |
| indexType | The type of each index element. |
| hasTransform | If true, the geometry will include a transformation matrix from geometry space to the space of the acceleration structure. |
| flags | Additional geometry flags. |