FRHIRenderPassInfo

Windows
MacOS
Linux

References

Module

RHI

Header

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

Include

#include "RHIResources.h"

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

 

bIsMSAA

Public variable

bool

 

bOcclusionQueries

Public variable

bool

 

bTooManyUAVs

TODO: Remove once FORT-162640 is solved.

Public variable

FColorEntry[Max...

 

ColorRenderTargets

Public variable

FDepthStencilEn...

 

DepthStencilRenderTarget

Public variable

uint8

 

MultiViewCount

If this renderpass should be multiview, and if so how many views are required

Public variable

uint32

 

NumOcclusionQueries

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

Public variable

FResolveParams

 

ResolveParameters

Public variable

FTextureRHIRef

 

ShadingRateTexture

Some RHIs can use a texture to control the sampling and/or shading resolution of different areas.

Public variable

EVRSRateCombine...

 

ShadingRateTextureCombiner

Public variable

ESubpassHint

 

SubpassHint

Hint for some RHI's that renderpass will have specific sub-passes.

Constructors

Name Description

Public function

FRHIRenderPassInfo()

Public function

FRHIRenderPassInfo

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

Color and depth with resolve.

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

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

Color and depth with resolve and optional sample density.

Public function

FRHIRenderPassInfo

(
    ENoRenderTargets Dummy
)

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.

Functions

Classes

Name

Description

Public struct

FColorEntry

Public struct

FDepthStencilEntry

Enums

Name

Description

Public enum

ENoRenderTargets

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