FDepthStencilBinding

Render graph information about how to bind a depth-stencil render target.

Windows
MacOS
Linux

References

Module

RenderCore

Header

/Engine/Source/Runtime/RenderCore/Public/ShaderParameterMacros.h

Include

#include "ShaderParameterMacros.h"

Syntax

struct FDepthStencilBinding

Remarks

Render graph information about how to bind a depth-stencil render target.

Constructors

Name Description

Public function

FDepthStencilBinding()

Public function

FDepthStencilBinding

(
    const FDepthStencilBinding&
)

Public function

FDepthStencilBinding

(
    FRDGTexture* InTexture,
    ERenderTargetLoadAction InDepthLoad...,
    FExclusiveDepthStencil InDepthStenc...
)

Public function

FDepthStencilBinding

(
    FRDGTexture* InTexture,
    ERenderTargetLoadAction InDepthLoad...,
    ERenderTargetLoadAction InStencilLo...,
    FExclusiveDepthStencil InDepthStenc...
)

Creates a render target binding informations for a depth/stencil texture.

Functions

Name Description

Public function Const

bool

 

CanMergeBefore

(
    const FDepthStencilBinding& Other
)

Whether we can merge a render pass using Other into a render pass using this depth stencil binding.

Public function Const

ERenderTarge...

 

GetDepthLoadAction()

Public function Const

FExclusiveDe...

 

GetDepthStencilAccess()

Public function Const

ERenderTarge...

 

GetStencilLoadAction()

Public function Const

FRDGTexture ...

 

GetTexture()

Public function

void

 

SetDepthLoadAction

(
    ERenderTargetLoadAction InAction
)

Public function

void

 

SetDepthStencilAccess

(
    FExclusiveDepthStencil InAccess
)

Public function

void

 

SetStencilLoadAction

(
    ERenderTargetLoadAction InAction
)

Public function

void

 

SetTexture

(
    FRDGTexture* InTexture
)

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