Skip to content

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;

» more...

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;

» more...

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;

» more...

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;

» more...

Parameters

NameDescription
blasThe bottom-level acceleration structure to build.
scratchBufferThe scratch buffer to use for building the acceleration structure.
bufferThe buffer that contains the acceleration structure after the build.
offsetThe offset into buffer at which the acceleration structure gets stored after the build.
tlasThe top-level acceleration structure to build.

See Also

IAccelerationStructure::build