Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/DynamicRHI.h |
Include |
#include "DynamicRHI.h" |
struct FRayTracingGeometryInstance
Name | Description | ||
---|---|---|---|
|
bDoubleSided |
Disabling this will allow ray hits to be registered for front and back faces. |
|
|
bForceOpaque |
No any-hit shaders will be invoked for this geometry instance (only closest hit) |
|
|
GeometryRHI |
||
|
GPUTransformsSRV |
Buffer that stores GPU transforms. |
|
|
Mask |
Mask that will be tested against one provided to TraceRay() in shader code. |
|
|
NumTransforms |
Transforms count. When GPU transforms are used it is a conservative count. |
|
|
Transforms |
A physical FRayTracingGeometryInstance may be duplicated many times in the scene with different transforms and user data. |
|
|
UserData |
Each geometry copy can receive a user-provided integer, which can be used to retrieve extra shader parameters or customize appearance. |