Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/PipelineStateCache.h |
Include |
#include "PipelineStateCache.h" |
Source |
/Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp |
int32 FindRayTracingHitGroupIndex
(
FRayTracingPipelineState * Pipeline,
FRHIRayTracingShader * HitGroupShader,
bool bRequired
)
Returns the hit group index within the ray tracing pipeline or INDEX_NONE if given shader does not exist. Asserts if shader is not found but bRequired is true.