Navigation
API > API/Runtime > API/Runtime/RHI > API/Runtime/RHI/FRayTracingPipelineStateInitiali-
Description
Shaders that will be invoked if a ray misses all geometry. If this table is empty, then a built-in default miss shader will be used that sets HitT member of FMinimalPayload to -1. Desired miss shader can be selected by providing MissShaderIndex to TraceRay() function.
| Name | SetMissShaderTable |
| Type | function |
| Header File | /Engine/Source/Runtime/RHI/Public/RHIResources.h |
| Include Path | #include "RHIResources.h" |
void SetMissShaderTable
(
const TArrayView< FRHIRayTracingShader * > & InMissShaders,
uint64 Hash
)