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
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
Derived Classes
See Also
IBottomLevelAccelerationStructure
ITopLevelAccelerationStructure