UTextureRenderTarget

TextureRenderTarget Base for all render target texture resources

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTarget.h

Include

#include "Engine/TextureRenderTarget.h"

Syntax

class UTextureRenderTarget : public UTexture

Remarks

TextureRenderTarget

Base for all render target texture resources

Variables

Name Description

Public variable

uint32: 1

 

bCanCreateUAV

If true, it will be possible to create a FUnorderedAccessViewRHIRef using RHICreateUnorderedAccessView and the internal FTexture2DRHIRef.

Public variable

uint32: 1

 

bNeedsTwoCopies

If true, there will be two copies in memory - one for the texture and one for the render target.

Public variable

float

 

TargetGamma

Will override FTextureRenderTarget2DResource::GetDisplayGamma if > 0.

Constructors

Name Description

Public function

UTextureRenderTarget

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

FTextureRend...

 

GameThread_GetRenderTargetResource()

Returns a pointer to the (game thread managed) render target resource.

Public function

FTextureRend...

 

GetRenderTargetResource()

Render thread: Access the render target resource for this texture target object

Overridden from UTexture

Name Description

Public function Virtual

FTextureReso...

 

CreateResource()

Implemented by subclasses to create a new resource for the texture.

Public function Virtual Const

EMaterialVal...

 

GetMaterialType()