Navigation
API > API/Runtime > API/Runtime/RHI
Inheritance Hierarchy
- FRayTracingPipelineStateSignature
- FRayTracingPipelineStateInitializer
References
| Module | RHI |
| Header | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include | #include "RHIResources.h" |
Syntax
class FRayTracingPipelineStateInitializer : public FRayTracingPipelineStateSignature
Variables
| Type | Name | Description | |
|---|---|---|---|
| FRayTracingPipelineStateRHIRef | BasePipeline | Ray tracing pipeline may be created by deriving from the existing base. | |
| bool | bBackgroundCompilation | Hints to the RHI that this PSO is being compiled by a background task and will not be needed immediately for rendering. | |
| bool | bPartial | Partial ray tracing pipelines can be used for run-time asynchronous shader compilation, but not for rendering. | |
| const FRHIShaderBindingLayout * | ShaderBindingLayout | Shader binding table layout used during shader compilation which needs to be the same for all shaders in the RTPSO and defines how uniform buffers needs to be bound at runtime (global(RayGen) vs local(miss/hit/callable) data) |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| const TArrayView< FRHIRayTracingShader * > & | |||
| const TArrayView< FRHIRayTracingShader * > & | |||
| uint32 | Retrieve the max local binding size of all the raytracing shaders used in the RTPSO. | ||
| const TArrayView< FRHIRayTracingShader * > & | GetMissTable () |
||
| const TArrayView< FRHIRayTracingShader * > & | |||
| void | SetCallableTable
(
const TArrayView< FRHIRayTracingShader* >& InCallableShaders, |
Shaders that can be explicitly invoked from RayGen shaders by their Shader Binding Table (SBT) index. | |
| void | SetHitGroupTable
(
const TArrayView< FRHIRayTracingShader* >& InHitGroups, |
Shaders that will be invoked when ray intersects geometry. | |
| void | SetMissShaderTable
(
const TArrayView< FRHIRayTracingShader* >& InMissShaders, |
Shaders that will be invoked if a ray misses all geometry. | |
| void | SetRayGenShaderTable
(
const TArrayView< FRHIRayTracingShader* >& InRayGenShaders, |
Shaders used as entry point to ray tracing work. At least one RayGen shader must be provided. |