UTextureRenderTarget

TextureRenderTarget Base for all render target texture resources

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()

Select Skin
Light
Dark

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