Skip to content

LiteFX::Rendering::Backends::IVulkanAccelerationStructure

Represents the base interface for a Vulkan acceleration structure implementation.

Synopsis

Declared in <litefx/backends/vulkan.hpp>

class [[dllimport, dllexport]] IVulkanAccelerationStructure
    : public virtual IAccelerationStructure
    , public virtual IResource<VkAccelerationStructureKHR>

Base Classes

NameDescription
IAccelerationStructureBase interface for a ray tracing acceleration structure.
IResource<VkAccelerationStructureKHR>Provides access to a resource managed by the class.

Member Functions

NameDescription
~IVulkanAccelerationStructure [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.
handle [virtual]Returns the resource managed by the class.
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

NameDescription
IVulkanAccelerationStructure [constructor]Constructors
operator= Assignment operators
handle [virtual]Returns the resource managed by the class.

Derived Classes

NameDescription
VulkanBottomLevelAccelerationStructure Implements a Vulkan bottom-level acceleration structure (BLAS).
VulkanTopLevelAccelerationStructure Implements a Vulkan top-level acceleration structure (TLAS).

See Also

VulkanDescriptorSet

VulkanBottomLevelAccelerationStructure

VulkanTopevelAccelerationStructure