Navigation
API > API/Runtime > API/Runtime/RHI
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
Syntax
struct FRayTracingSceneInitializer
Variables
| Type | Name | Description | |
|---|---|---|---|
| TArray< uint32 > | BaseInstancePrefixSum | Exclusive prefix sum of `Instance.NumTransforms_ for all instances in this scene. | |
| ERayTracingAccelerationStructureFlags | BuildFlags | Controls the flags of the ray tracing scene build. | |
| FName | DebugName | ||
| ERayTracingSceneLifetime | Lifetime | Defines whether data in this scene should persist between frames. | |
| uint32 | MaxNumInstances | Maximum number of instances in this scene. Actual number of instances is specified in FRayTracingSceneBuildParams. | |
| uint32 | NumCallableShaderSlots | ||
| uint32 | NumMissShaderSlots | ||
| TArray< uint32 > | NumNativeInstancesPerLayer | Total flattened number of ray tracing geometry instances (a single FRayTracingGeometryInstance may represent many) per layer. | |
| uint32 | NumTotalSegments | ||
| TArray< FRHIRayTracingGeometry * > | PerInstanceGeometries | One entry per instance | |
| TArray< TRefCountPtr< FRHIRayTracingGeometry > > | ReferencedGeometries | Unique list of geometries referenced by all instances in this scene. | |
| TArray< uint32 > | SegmentPrefixSum | Exclusive prefix sum of instance geometry segments is used to calculate SBT record address from instance and segment indices. | |
| uint32 | ShaderSlotsPerGeometrySegment |
Constructors
| Type | Name | Description | |
|---|---|---|---|
| PRAGMA_DISABLE_DEPRECATION_WARNINGS | |||
Operators
| Type | Name | Description | |
|---|---|---|---|
| FRayTracingSceneInitializer & |