Language:
Discover
By Skill Level
By Category

FRHIRenderPassInfo

Choose your OS:

Syntax

struct FRHIRenderPassInfo

Variables

Name Description

Public variable

bool

 

bGeneratingMips

Some RHIs need to know if this render pass is going to be reading and writing to the same texture in the case of generating mip maps for partial resource transitions.

Public variable

bool

 

bOcclusionQueries

Public variable

FColorEntry [Max...

 

ColorRenderTargets

Public variable

FDepthStencilEn ...

 

DepthStencilRenderTarget

Public variable

uint32

 

NumOcclusionQueries

Some RHIs require a hint that occlusion queries will be used in this render pass.

Public variable

int32

 

NumUAVs

Public variable

FResolveParams

 

ResolveParameters

Public variable

int32

 

UAVIndex

#RenderPasses

Public variable

FUnorderedAcces ...

 

UAVs

Constructors

Name Description

Public function

FRHIRenderPassInfo()

Public function

FRHIRenderPassInfo

(
    int32 NumColorRTs,
    FRHITexture * ColorRTs,
    ERenderTargetActions ColorAction,
    FRHITexture * ResolveRTs,
    FRHITexture * DepthRT,
    EDepthStencilTargetActions DepthAct...,
    FRHITexture * ResolveDepthRT,
    FExclusiveDepthStencil InEDS
)

Color MRTs and depth.

Public function

FRHIRenderPassInfo

(
    int32 NumColorRTs,
    FRHITexture * ColorRTs,
    ERenderTargetActions ColorAction
)

Color MRTs, no depth.

Public function

FRHIRenderPassInfo

(
    int32 NumColorRTs,
    FRHITexture * ColorRTs,
    ERenderTargetActions ColorAction,
    FRHITexture * ResolveTargets
)

Color MRTs, no depth.

Public function

FRHIRenderPassInfo

(
    FRHITexture * DepthRT,
    EDepthStencilTargetActions DepthAct...,
    FRHITexture * ResolveDepthRT,
    FExclusiveDepthStencil InEDS
)

Depth, no color.

Public function

FRHIRenderPassInfo

(
    FRHITexture * ColorRT,
    ERenderTargetActions ColorAction,
    FRHITexture * ResolveRT,
    uint32 InMipIndex,
    int32 InArraySlice
)

Color, no depth, optional resolve, optional mip, optional array slice.

Public function

FRHIRenderPassInfo

(
    FRHITexture * DepthRT,
    uint32 InNumOcclusionQueries,
    EDepthStencilTargetActions DepthAct...,
    FRHITexture * ResolveDepthRT,
    FExclusiveDepthStencil InEDS
)

Depth, no color, occlusion queries.

Public function

FRHIRenderPassInfo

(
    FRHITexture * ColorRT,
    ERenderTargetActions ColorAction,
    FRHITexture * DepthRT,
    EDepthStencilTargetActions DepthAct...,
    FExclusiveDepthStencil InEDS
)

Color and depth.

Public function

FRHIRenderPassInfo

(
    int32 NumColorRTs,
    FRHITexture * ColorRTs,
    ERenderTargetActions ColorAction,
    FRHITexture * DepthRT,
    EDepthStencilTargetActions DepthAct...,
    FExclusiveDepthStencil InEDS
)

Color MRTs and depth.

Public function

FRHIRenderPassInfo

(
    FRHITexture * ColorRT,
    ERenderTargetActions ColorAction,
    FRHITexture * ResolveColorRT,
    FRHITexture * DepthRT,
    EDepthStencilTargetActions DepthAct...,
    FRHITexture * ResolveDepthRT,
    FExclusiveDepthStencil InEDS
)

Color and depth with resolve.

Functions

Name Description

Public function

[RHI_API](API\Runtime\RHI\RHI_API)void

 

ConvertToRenderTargetsInfo

(
    FRHISetRenderTargetsInfo & OutRTInf...
)

Public function

int32

 

GetNumColorRenderTargets()

Public function

bool

 

IsMSAA()

Public function

[RHI_API](API\Runtime\RHI\RHI_API)void

 

Validate()

Operators

Name Description

Public function

FRHIRenderPa ...

 

operator=

(
    const FRHIRenderPassInfo & In
)

Classes

Name

Description

Public struct

FColorEntry

Public struct

FDepthStencilEntry

References

Module

RHI

Header

Runtime/RHI/Public/RHIResources.h