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

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

Copied!

Mesh (std::wstring name, size_t surfaceCount = 1)

Construction.


Methods

GetNumSurfaces

Copied!

size_t GetNumSurfaces () const

Returns the number of surfaces in this mesh.


GetSurface

Copied!

const Surface * GetSurface (uint32_t index) const

Returns a surface pointer by index.


GetStaticBlas

Copied!

BLAS * GetStaticBlas ()

Returns a point to the Bottom-Level Acceleration Structure (BLAS) for the mesh.


setMeshIndex

Copied!

void setMeshIndex (uint32_t index)

Stores the index of this mesh.


GetMeshIndex

Copied!

const uint32_t GetMeshIndex () const

Returns the index of this mesh.