FRenderTargetBinding

Render graph information about how to bind a render target.

Choose your operating system:

Windows

macOS

Linux

References

Module

RenderCore

Header

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

Include

#include "ShaderParameterMacros.h"

Syntax

struct FRenderTargetBinding

Remarks

Render graph information about how to bind a render target.

Constructors

Name Description

Public function

FRenderTargetBinding()

Public function

FRenderTargetBinding

(
    const FRenderTargetBinding&
)

Public function

FRenderTargetBinding

(
    FRDGTexture* InTexture,
    ERenderTargetLoadAction InLoadActio...,
    uint8 InMipIndex,
    int16 InArraySlice
)

Public function

FRenderTargetBinding

(
    FRDGTexture* InTexture,
    FRDGTexture* InResolveTexture,
    ERenderTargetLoadAction InLoadActio...,
    uint8 InMipIndex,
    int16 InArraySlice
)

Functions

Name Description

Public function Const

bool

 

CanMergeBefore

(
    const FRenderTargetBinding& Other
)

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

Public function Const

int16

 

GetArraySlice()

Public function Const

ERenderTarge...

 

GetLoadAction()

Public function Const

uint8

 

GetMipIndex()

Public function

void

 

GetMipIndex

(
    uint8 InMipIndex
)

Public function Const

FRDGTexture ...

 

GetResolveTexture()

Public function Const

FRDGTexture ...

 

GetTexture()

Public function

void

 

SetArraySlice

(
    int16 InArraySlice
)

Public function

void

 

SetLoadAction

(
    ERenderTargetLoadAction InLoadActio...
)

Public function

void

 

SetResolveTexture

(
    FRDGTexture* InTexture
)

Public function

void

 

SetTexture

(
    FRDGTexture* InTexture
)