![]() |
XII Release 0.1.0
|
This describes the bottom level acceleration structure triangles. More...
#include <BottomLevelAS.h>
Public Member Functions | |
XII_DECLARE_POD_TYPE () | |
![]() | |
xiiHashableStruct (const xiiHashableStruct< xiiGALBLASTriangleDescription > &other) | |
void | operator= (const xiiHashableStruct< xiiGALBLASTriangleDescription > &other) |
XII_ALWAYS_INLINE constexpr bool | operator== (const xiiHashableStruct< xiiGALBLASTriangleDescription > &rhs) const=default |
xiiUInt32 | CalculateHash () const |
Calculates the 32 bit hash of the struct and returns it. | |
Public Attributes | |
xiiStringView | m_sGeometryName |
The geometry name used to map triangle data. The default is an empty string view. | |
xiiUInt32 | m_uiMaxVertexCount = 0U |
The maximum vertex count in this geometry. The default is 0. | |
xiiEnum< xiiGALValueType > | m_VertexValueType = xiiGALValueType::Undefined |
xiiUInt8 | m_uiVertexComponentCount = 0U |
xiiUInt32 | m_uiMaxPrimitiveCount = 0U |
The maximum primitive count in this geometry. The default is 0. | |
xiiEnum< xiiGALValueType > | m_IndexType = xiiGALValueType::Undefined |
The index type of this geometry. This must be UInt16, UInt32 or Undefined. If Undefined, then the vertex array is used instead of the indexed vertices. The default is Undefined. | |
This describes the bottom level acceleration structure triangles.
xiiUInt8 xiiGALBLASTriangleDescription::m_uiVertexComponentCount = 0U |
The number of components in the vertex. The default is 0.
\remarks Valid values are only 2 or 3. For 2-component formats, the third component is assumed to be 0.
xiiEnum<xiiGALValueType> xiiGALBLASTriangleDescription::m_VertexValueType = xiiGALValueType::Undefined |
The type of vertices in this geometry. The default is Undefined.
\remarks Only Float32, Float16, and Int16 are valid. Int16 defines 16-bit signed-normalized vertex components.