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

This structure is used by IDeviceContext::WriteBLASCompactedSize(). More...

#include <DeviceContext.h>

Public Attributes

IBottomLevelASpBLAS = nullptr
 Bottom-level AS.
 
IBufferpDestBuffer = nullptr
 The destination buffer into which a 64-bit value representing the acceleration structure compacted size will be written to.
 
Uint64 DestBufferOffset = 0
 Offset from the beginning of the buffer to the location of the AS compacted size.
 
RESOURCE_STATE_TRANSITION_MODE BLASTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Bottom-level AS state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
 
RESOURCE_STATE_TRANSITION_MODE BufferTransitionMode = RESOURCE_STATE_TRANSITION_MODE_NONE
 Destination buffer state transition mode (see Diligent::RESOURCE_STATE_TRANSITION_MODE).
 

Detailed Description

This structure is used by IDeviceContext::WriteBLASCompactedSize().

Member Data Documentation

◆ pDestBuffer

IBuffer* Diligent::WriteBLASCompactedSizeAttribs::pDestBuffer = nullptr

The destination buffer into which a 64-bit value representing the acceleration structure compacted size will be written to.

Remarks
Metal backend writes a 32-bit value.