FTextureRenderTargetResource

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

Windows
MacOS
Linux

Inheritance Hierarchy

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.

References

Module

Engine

Header

Runtime/Engine/Public/TextureResource.h

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback