LiteFX::Rendering::Backends::IDirectX12AccelerationStructure¶
Represents the base interface for a DirectX 12 acceleration structure implementation.
Synopsis¶
Declared in <litefx/backends/dx12.hpp>
class [[dllimport, dllexport]] IDirectX12AccelerationStructure
: public virtual IAccelerationStructure
Base Classes¶
| Name | Description |
|---|---|
IAccelerationStructure | Base interface for a ray tracing acceleration structure. |
Member Functions¶
| Name | Description |
|---|---|
~IDirectX12AccelerationStructure [destructor] [virtual] | Destructor |
buffer | Returns the acceleration structure backing buffer, that stores its last build. |
build | Performs a complete build of the acceleration structure. |
flags [virtual] | Returns the flags that control how the acceleration structure should be built. |
name [virtual] | Returns the name of the resource. |
offset [virtual] | Returns the offset into buffer at which the acceleration structure is stored. |
size [virtual] | Returns the amount of memory in bytes inside buffer that store the acceleration structure. |
update | Performs an update on the acceleration structure. |
Protected Member Functions¶
| Name | Description |
|---|---|
IDirectX12AccelerationStructure [constructor] | Constructors |
operator= | Assignment operators |
Derived Classes¶
| Name | Description |
|---|---|
DirectX12BottomLevelAccelerationStructure | Implements a DirectX 12 bottom-level acceleration structure (BLAS). |
DirectX12TopLevelAccelerationStructure | Implements a DirectX 12 top-level acceleration structure (TLAS). |
See Also¶
DirectX12DescriptorSet
DirectX12BottomLevelAccelerationStructure
DirectX12TopevelAccelerationStructure