LiteFX::Rendering::Backends::VulkanCommandBuffer::updateAccelerationStructure¶
updateAccelerationStructure overloads
Synopses¶
Declared in <litefx/backends/vulkan.hpp>
Updates a bottom-level acceleration structure.
[[dllimport, dllexport]] virtual void updateAccelerationStructure(
VulkanBottomLevelAccelerationStructure& blas,
SharedPtr<IVulkanBuffer const> const& scratchBuffer,
IVulkanBuffer const& buffer,
UInt64 offset) const override;
Updates a top-level acceleration structure.
[[dllimport, dllexport]] virtual void updateAccelerationStructure(
VulkanTopLevelAccelerationStructure& tlas,
SharedPtr<IVulkanBuffer const> const& scratchBuffer,
IVulkanBuffer const& buffer,
UInt64 offset) const override;
Updates a bottom-level acceleration structure.
[[dllimport]] virtual void updateAccelerationStructure(
bottom_level_acceleration_structure_type& blas,
SharedPtr<buffer_type const> const& scratchBuffer,
buffer_type const& buffer,
UInt64 offset = 0) const = 0;
Updates a top-level acceleration structure.
[[dllimport]] virtual void updateAccelerationStructure(
top_level_acceleration_structure_type& tlas,
SharedPtr<buffer_type const> const& scratchBuffer,
buffer_type const& buffer,
UInt64 offset = 0) const = 0;
Parameters¶
| Name | Description |
|---|---|
| blas | The bottom-level acceleration structure to build. |
| scratchBuffer | The scratch buffer to use for building the acceleration structure. |
| buffer | The buffer that contains the acceleration structure after the build. |
| offset | The offset into buffer at which the acceleration structure gets stored after the build. |
| tlas | The top-level acceleration structure to build. |
See Also¶
IAccelerationStructure::build