/Engine/Source/Runtime/RHI/Public/RHIResources.h
High level descriptor of one or more instances of a mesh in a ray tracing scene. All instances covered by this descriptor will share shader bindings, but may have different transforms and user data.
struct FRayTracingGeometryInstance
TArrayView< con...
ActivationMask
Each geometry copy can have one bit to make it individually deactivated (removed from TLAS while maintaining hit group indexing). Useful for culling.
bool
bApplyLocalBoundsTransform
Whether local bounds scale and center translation should be applied to the instance transform.
int32
BaseInstanceSceneDataOffset
Offsets into the scene's instance scene data buffer used to get instance transforms from GPUScene If BaseInstanceSceneDataOffset != -1, instances are assumed to be continuous.
uint32
DefaultUserData
Each geometry copy can receive a user-provided integer, which can be used to retrieve extra shader parameters or customize appearance.
ERayTracingInst...
Flags
Flags to control triangle back face culling, whether to allow any-hit shaders, etc.
FRHIRayTracingG...
GeometryRHI
FShaderResource...
GPUTransformsSRV
Optional buffer that stores GPU transforms. Used instead of CPU-side transform data.
TArrayView< con...
InstanceSceneDataOffsets
uint8
LayerIndex
uint8
Mask
Mask that will be tested against one provided to TraceRay() in shader code.
uint32
NumTransforms
Conservative number of instances.
TArrayView< con...
Transforms
A single physical mesh may be duplicated many times in the scene with different transforms and user data.
TArrayView< con...
UserData