Diligent Engine
 
Loading...
Searching...
No Matches
Diligent::ScratchBufferSizes Struct Reference

Defines the scratch buffer info for acceleration structure. More...

#include <BottomLevelAS.h>

Public Attributes

Uint64 Build = 0
 
Uint64 Update = 0
 

Detailed Description

Defines the scratch buffer info for acceleration structure.

Member Data Documentation

◆ Build

Uint64 Diligent::ScratchBufferSizes::Build = 0

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.

◆ Update

Uint64 Diligent::ScratchBufferSizes::Update = 0

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.