Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/RHIContext.h |
Include |
#include "RHIContext.h" |
virtual void RHITransitionResources
(
FExclusiveDepthStencil DepthStencilMode,
FRHITexture * DepthTexture
)
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.