LiteFX::Rendering::IAccelerationStructure¶
Base interface for a ray tracing acceleration structure.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
class [[dllimport, dllexport]] IAccelerationStructure
: public virtual IStateResource
Base Classes¶
| Name | Description |
|---|---|
IStateResource | The interface for a state resource. |
Member Functions¶
| Name | Description |
|---|---|
~IAccelerationStructure [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 |
|---|---|
IAccelerationStructure [constructor] | Constructors |
operator= | Assignment operators |
Derived Classes¶
| Name | Description |
|---|---|
IBottomLevelAccelerationStructure | A structure that holds a singular entity of geometry for hardware ray-tracing. |
IDirectX12AccelerationStructure | Represents the base interface for a DirectX 12 acceleration structure implementation. |
ITopLevelAccelerationStructure | A structure that stores the instance data for a IBottomLevelAccelerationStructure. |
IVulkanAccelerationStructure | Represents the base interface for a Vulkan acceleration structure implementation. |
See Also¶
IBottomLevelAccelerationStructure
ITopLevelAccelerationStructure