class TLAS
The FidelityFX Cauldron Framework
api/platform-agnostic representation of the Top Level Acceleration Structure.
File location: framework/cauldron/framework/inc/render/rtresources.h
Methods
Return type |
Description |
---|---|
static TLAS* |
CreateTLAS ()
TLAS instance creation function. Implemented per api/platform to return the correct internal resource type.
|
const Buffer * |
GetBuffer () const
Returns the backing “Buffer“ resource.
|
void |
Build (CommandList * pCmdList) = 0
Builds the top level acceleration structure.
|
void |
Adds a transformed BLAS instance to the TLAS instance.
|
Detailed description
The FidelityFX Cauldron Framework
api/platform-agnostic representation of the Top Level Acceleration Structure. Only created when “BuildRayTracingAccelerationStructure” config is set to true.
Methods
CreateTLAS
TLAS instance creation function. Implemented per api/platform to return the correct internal resource type.
GetBuffer
const Buffer * GetBuffer () const
Returns the backing Buffer
resource.
Build
virtual void Build (CommandList * pCmdList) = 0
Builds the top level acceleration structure.
AddInstance
Adds a transformed BLAS instance to the TLAS instance.