Skip to content

LiteFX::Rendering::AccelerationStructureFlags

Controls how an acceleration structure should be built.

Synopsis

Declared in <litefx/rendering_api.hpp>

enum class AccelerationStructureFlags : int;

Members

NameDescription
None Use default options for building the acceleration structure.
AllowUpdate Allow the acceleration structure to be updated.
AllowCompaction Allow the acceleration structure to be compacted.
PreferFastTrace Prefer building a better performing acceleration structure, that possibly takes longer to build.
PreferFastBuild Prefer fast build times for the acceleration structure, but sacrifice ray-tracing performance.
MinimizeMemory Prefer to minimize the memory footprint of the acceleration structure, but at the cost of ray-tracing performance and build times.

Non-Member Functions

NameDescription
operator&Bitwise conjunction operator
operator&=Bitwise conjunction assignment operator
operator|Bitwise disjunction operator
operator|=Bitwise disjunction assignment operator

See Also

IBottomLevelAccelerationStructure

ITopLevelAccelerationStructure