ITopLevelASD3D12 struct
Exposes Direct3D12-specific functionality of a top-level acceleration structure object.
Contents
- Reference
Base classes
- struct ITopLevelAS
- Top-level AS interface.
Public functions
- auto GetD3D12TLAS() -> ID3D12Resource*METHOD() virtual
- Returns ID3D12Resource interface of the internal D3D12 acceleration structure object.
- auto GetCPUDescriptorHandle() -> D3D12_CPU_DESCRIPTOR_HANDLE METHOD() virtual
- Returns a CPU descriptor handle of the D3D12 acceleration structure.
Function documentation
ID3D12Resource*METHOD() Diligent:: ITopLevelASD3D12:: GetD3D12TLAS() virtual
Returns ID3D12Resource interface of the internal D3D12 acceleration structure object.
The method does NOT call AddRef() on the returned interface, so Release() must not be called.
D3D12_CPU_DESCRIPTOR_HANDLE METHOD() Diligent:: ITopLevelASD3D12:: GetCPUDescriptorHandle() virtual
Returns a CPU descriptor handle of the D3D12 acceleration structure.
The method does NOT call AddRef() on the returned interface, so Release() must not be called.