LiteFX::Rendering::InstanceFlags¶
Controls how an instance within a ITopLevelAccelerationStructure behaves during ray-tracing.
Synopsis¶
Declared in <litefx/rendering_api.hpp>
enum class InstanceFlags : int;
Members¶
| Name | Description |
|---|---|
None | The instance uses default behavior. |
DisableCull | If this flag is set front- and backface culling is disabled for the instance. |
FlipWinding | If this flag is set, front- and backfaces flip their default cull order. |
ForceOpaque | If this flag is set, no geometry of the instance invokes the any-hit shader. This overwrites per-geometry flags. |
ForceNonOpaque | If this flag is set, each geometry of the instance will ignore the GeometryFlags::Opaque setting. |
Non-Member Functions¶
| Name | Description |
|---|---|
operator& | Bitwise conjunction operator |
operator&= | Bitwise conjunction assignment operator |
operator| | Bitwise disjunction operator |
operator|= | Bitwise disjunction assignment operator |