SetRenderTargets

Deprecated

  • SetRenderTargets API is deprecated; please use RHIBegin/EndRenderPass instead.

Syntax

void SetRenderTargets
(
    FRHICommandList & RHICmdList,
    uint32 NewNumSimultaneousRenderTargets,
    const FTextureRHIParamRef * NewRenderTargetsRHI,
    FTextureRHIParamRef NewDepthStencilTargetRHI,
    uint32 NewNumUAVs,
    const FUnorderedAccessViewRHIParamRef * UAVs,
    bool bWritableBarrier
)

Remarks

Helper that converts FTextureRHIParamRef's into FRHIRenderTargetView 's.

References

Module

RHI

Header

Runtime/RHI/Public/RHIUtilities.h