Diligent::ScratchBufferSizes struct

Defines the scratch buffer info for acceleration structure.

Contents

Public variables

Uint32 Build
Scratch buffer size for acceleration structure building, see IDeviceContext::BuildBLAS(), IDeviceContext::BuildTLAS(). May be zero if the acceleration structure was created with non-zero CompactedSize.
Uint32 Update
Scratch buffer size for acceleration structure updating, see IDeviceContext::BuildBLAS(), IDeviceContext::BuildTLAS(). May be zero if acceleration structure was created without RAYTRACING_BUILD_AS_ALLOW_UPDATE flag. May be zero if acceleration structure was created with non-zero CompactedSize.