class BLAS
The FidelityFX Cauldron Framework
api/platform-agnostic representation of the Bottom Level Acceleration Structure.
File location: framework/cauldron/framework/inc/render/rtresources.h
Methods
Return type |
Description |
---|---|
static BLAS* |
CreateBLAS ()
BLAS instance creation function. Implemented per api/platform to return the correct internal resource type.
|
const Buffer * |
GetBuffer () const
Returns the backing “Buffer“ resource.
|
void |
AddGeometry ( const Mesh * pMesh, const std::vector<VertexBufferInformation >& vertexPositions ) = 0
Adds a mesh to the BLAS instance.
|
void |
InitBufferResources () = 0
Initializes BLAS buffer resources.
|
void |
Build (CommandList * pCmdList) = 0
Builds the bottom level acceleration structure.
|
Detailed description
The FidelityFX Cauldron Framework
api/platform-agnostic representation of the Bottom Level Acceleration Structure. Only created when “BuildRayTracingAccelerationStructure” config is set to true.
Methods
CreateBLAS
BLAS instance creation function. Implemented per api/platform to return the correct internal resource type.
GetBuffer
const Buffer * GetBuffer () const
Returns the backing Buffer
resource.
AddGeometry
virtual void AddGeometry (
const Mesh * pMesh,
const std::vector<VertexBufferInformation >& vertexPositions
) = 0
Adds a mesh to the BLAS instance.
InitBufferResources
Initializes BLAS buffer resources.
Build
virtual void Build (CommandList * pCmdList) = 0
Builds the bottom level acceleration structure.