IRHICommandContext::RHITransitionResources

Explicitly transition a depth/stencil texture from readable -> writable by the GPU or vice versa.

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "RHIContext.h"

Syntax

virtual void RHITransitionResources
(
    FExclusiveDepthStencil DepthStencilMode,
    FRHITexture * DepthTexture
)

Remarks

Explicitly transition a depth/stencil texture from readable -> writable by the GPU or vice versa. This implementation provides compatibility with the old RHI behavior where the stencil mode is ignored and the whole depth/stencil resource is transitioned.

RHIs should override this method to implement stencil-specific resource barriers.

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