Module |
|
Header |
/Engine/Source/Runtime/RHI/Public/RHIContext.h |
Include |
#include "RHIContext.h" |
virtual void RHITransitionResources
(
EResourceTransitionAccess TransitionType,
FRHITexture ** InTextures,
int32 NumTextures
)
Explicitly transition a texture resource from readable -> writable by the GPU or vice versa. We know render targets are only used as rendered targets on the Gfx pipeline, so these transitions are assumed to be implemented such Gfx->Gfx and Gfx->Compute pipeline transitions are both handled by this call by the RHI implementation. Hence, no pipeline parameter on this call. TransitionPipeline version is also available to transition from Compute->Gfx for example
Parameter |
Description |
---|---|
TransitionType |
direction of the transition |
InTextures |
array of texture objects to transition |
NumTextures |
number of textures to transition |