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< en...

 

OverrideFormat

The format of the texture data.

Public variable

int32

 

SizeX

The width of the texture.

Constructors

Name Description

Public function

UTextureRenderTargetCube

(
    const FObjectInitializer& ObjectIn...
)

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

FTextureReso...

 

CreateResource()

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

Public function Virtual Const

EMaterialVal...

 

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& CumulativeResourc...
)

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& PropertyCha...
)

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.

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