class Mesh
The FidelityFX Cauldron Framework
mesh representation.
File location: framework/cauldron/framework/inc/render/mesh.h
Construction
Return type |
Description |
---|---|
Mesh (std::wstring name, size_t surfaceCount = 1)
Construction.
|
Methods
Return type |
Description |
---|---|
size_t |
GetNumSurfaces () const
Returns the number of surfaces in this mesh.
|
const Surface * |
GetSurface (uint32_t index) const
Returns a surface pointer by index.
|
Surface * |
GetSurface (uint32_t index)
|
BLAS * |
Returns a point to the Bottom-Level Acceleration Structure (“BLAS“) for the mesh.
|
const BLAS * |
GetStaticBlas () const
|
void |
setMeshIndex (uint32_t index)
Stores the index of this mesh.
|
const uint32_t |
GetMeshIndex () const
Returns the index of this mesh.
|
void |
setAnimatedBlas (bool animatedBlas)
|
const bool |
HasAnimatedBlas () const
|
Detailed description
The FidelityFX Cauldron Framework
mesh representation. Meshes are made up of a combination of Surface
es.
Construction
Mesh
Construction.
Methods
GetNumSurfaces
Returns the number of surfaces in this mesh.
GetSurface
const Surface * GetSurface (uint32_t index) const
Returns a surface pointer by index.
GetStaticBlas
BLAS * GetStaticBlas ()
Returns a point to the Bottom-Level Acceleration Structure (BLAS
) for the mesh.
setMeshIndex
Stores the index of this mesh.
GetMeshIndex
Returns the index of this mesh.