PipelineStateCache::GetAndOrCreateRayTracingPipelineState

Retrieves RTPSO object from cache or adds a task to create it, which will be waited on by RHI thread.

Windows
MacOS
Linux

References

Module

RHI

Header

/Engine/Source/Runtime/RHI/Public/PipelineStateCache.h

Include

#include "PipelineStateCache.h"

Source

/Engine/Source/Runtime/RHI/Private/PipelineStateCache.cpp

Syntax

namespace PipelineStateCache
{
    FRayTracingPipelineState * PipelineStateCache::GetAndOrCreateRayTracingPipelineState
    (
        FRHICommandList & RHICmdList,
        const FRayTracingPipelineStateInitializer & Initializer,
        ERayTracingPipelineCacheFlags Flags
    )
}

Remarks

Retrieves RTPSO object from cache or adds a task to create it, which will be waited on by RHI thread. May return NULL in non-blocking mode if pipeline is not already in cache.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss