XII Release 0.1.0
Loading...
Searching...
No Matches
xiiGALRayTracingInstanceFlags Struct Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <TopLevelAS.h>

Classes

struct  Bits

Public Types

enum  Enum : StorageType {
  None = 0U , TriangleCullDisable = XII_BIT(0) , TriangleFrontCounterClockwise = XII_BIT(1) , ForceOpaque = XII_BIT(2) ,
  ForceNonOpaque = XII_BIT(3) , All = TriangleCullDisable | TriangleFrontCounterClockwise | ForceOpaque | ForceNonOpaque , Default = None
}
using StorageType = xiiUInt8

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

This describes the ray tracing instance flags used by the top level acceleration structure.

Member Enumeration Documentation

◆ Enum

Enumerator
None 

No instance flags are set. Triangles use clockwise winding for front-facing determination, and ray-specified front/back-face culling is permitted.

TriangleCullDisable 

Disables front- and back-face culling for triangles in this instance. Ray flags requesting front- or back-facing triangle culling have no effect.

TriangleFrontCounterClockwise 

Treats counter-clockwise triangles as front-facing. By default, clockwise triangles are considered front-facing.

ForceOpaque 

Forces all geometries in this instance to be treated as opaque, overriding their per-geometry opaque state unless overridden by a ray flag.

ForceNonOpaque 

Forces all geometries in this instance to be treated as non-opaque, overriding their per-geometry opaque state unless overridden by a ray flag.


The documentation for this struct was generated from the following file:
  • /home/runner/work/XII/XII/Source/Engine/GraphicsFoundation/Resources/TopLevelAS.h