XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALBLASTriangleDescription Struct Reference

This describes the bottom level acceleration structure triangles. More...

#include <BottomLevelAS.h>

Inheritance diagram for xiiGALBLASTriangleDescription:
[legend]

Public Member Functions

 XII_DECLARE_POD_TYPE ()
 
- Public Member Functions inherited from xiiHashableStruct< xiiGALBLASTriangleDescription >
 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< xiiGALValueTypem_VertexValueType = xiiGALValueType::Undefined
 
xiiUInt8 m_uiVertexComponentCount = 0U
 
xiiUInt32 m_uiMaxPrimitiveCount = 0U
 The maximum primitive count in this geometry. The default is 0.
 
xiiEnum< xiiGALValueTypem_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.
 

Detailed Description

This describes the bottom level acceleration structure triangles.

Member Data Documentation

◆ m_uiVertexComponentCount

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. 

◆ m_VertexValueType

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. 

The documentation for this struct was generated from the following file: