Skip to content

LiteFX::Rendering::GeometryFlags

Controls how a geometry that is part of a bottom-level acceleration structure (BLAS) behaves during ray-tracing.

Synopsis

Declared in <litefx/rendering_api.hpp>

enum class GeometryFlags : int;

Members

NameDescription
None Implies no restrictions on the geometry.
Opaque If this flag is set, the any-hit shader for this geometry is never invoked, even if it is present within the hit group.
OneShotAnyHit If this flag is set, the any-hit shader for this geometry is only invoked once for each primitive of the geometry, even if it could be invoked multiple times during ray tracing.

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