UTextureRenderTargetCube

TextureRenderTargetCube

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/TextureRenderTargetCube.h

Include

#include "Engine/TextureRenderTargetCube.h"

Syntax

class UTextureRenderTargetCube : public UTextureRenderTarget

Remarks

TextureRenderTargetCube

Cube render target texture resource. This can be used as a target for rendering as well as rendered as a regular cube texture resource.

Variables

Name Description

Public variable

uint8: 1

 

bForceLinearGamma

True to force linear gamma space for this render target

Public variable

uint8: 1

 

bHDR

Whether to support storing HDR values, which requires more memory.

Public variable

FLinearColor

 

ClearColor

The color the texture is cleared to

Public variable

TEnumAsByte< enum EPixelFormat >

 

OverrideFormat

The format of the texture data.

Public variable

int32

 

SizeX

The width of the texture.

Constructors

Name Description

Public function

UTextureRenderTargetCube

(
    const FObjectInitializer& ObjectInitializer
)

Functions

Name Description

Public function

UTextureCube *

 

ConstructTextureCube

(
    UObject* InOuter,
    const FString& NewTexName,
    EObjectFlags InFlags
)

Utility for creating a new UTextureCube from a TextureRenderTargetCube.

Public function Const

EPixelFormat

 

GetFormat()

Public function Const

int32

 

GetNumMips()

Public function

void

 

Init

(
    uint32 InSizeX,
    EPixelFormat InFormat
)

Initialize the settings needed to create a render target texture and create its resource

Public function

void

 

InitAutoFormat

(
    uint32 InSizeX
)

Initializes the render target, the format will be derived from the value of bHDR.

Overridden from UTexture

Name Description

Public function Virtual

FTextureResource *

 

CreateResource()

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

Public function Virtual Const

EMaterialValueType

 

GetMaterialType()

Public function Virtual Const

float

 

GetSurfaceHeight()

PVS-Studio notices that the implementation of GetSurfaceWidth is identical to this one and warns us.

Public function Virtual Const

float

 

GetSurfaceWidth()

Overridden from UObject

Name Description

Public function Virtual

FString

 

GetDesc()

Return a one line description of an object for viewing in the thumbnail view of the generic browser

Public function Virtual

void

 

GetResourceSizeEx

(
    FResourceSizeEx& CumulativeResourceSize
)

Get the size of the object/resource for use in memory tools or to display to artists/LDs in the Editor This is the extended version which separates up the used memory into different memory regions (the actual definition of which may be platform specific).

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyChangedEvent
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

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