FTextureRenderTargetResource

[FTextureResource](API\Runtime\Engine\FTextureResource) type for render target textures.

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/TextureResource.h

Include

#include "TextureResource.h"

Syntax

class FTextureRenderTargetResource :
    public FTextureResource,
    public FRenderTarget,
    public FDeferredUpdateResource

Remarks

FTextureResource type for render target textures.

Constructors

Name Description

Public function

FTextureRenderTargetResource()

Constructor, initializing ClearLink.

Functions

Name Description

Public function Virtual

void

 

ClampSize

(
    int32 SizeX,
    int32 SizeY
)

Public function Virtual

FTextureRend...

 

GetTextureRenderTarget2DResource()

Public function Static

bool

 

IsSupportedFormat

(
    EPixelFormat Format
)

Return true if a render target of the given format is allowed for creation

Overridden from FTexture

Name Description

Public function Const

uint32

 

GetSizeX()

Returns the width of the texture in pixels.

Public function Const

uint32

 

GetSizeY()

Returns the height of the texture in pixels.

Overridden from FRenderTarget

Name Description

Public function Virtual Const

float

 

GetDisplayGamma()

Render target resource should be sampled in linear color space

Public function Const

FIntPoint

 

GetSizeXY()

Properties.

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