UTexture2DArray

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Texture2DArray.h

Include

#include "Engine/Texture2DArray.h"

Syntax

class UTexture2DArray : public UTexture

Variables

Name Description

Public variable

TEnumAsByte< en...

 

AddressX

The addressing mode to use for the X axis.

Public variable

TEnumAsByte< en...

 

AddressY

The addressing mode to use for the Y axis.

Public variable

TEnumAsByte< en...

 

AddressZ

The addressing mode to use for the Z axis.

Public variable

TMap< FString, ...

 

CookedPlatformData

Public variable

FTexturePlatfor...

 

PlatformData

Platform data.

Public variable

TArray< UTextur...

 

SourceTextures

Add Textures

Constructors

Name Description

Public function

UTexture2DArray

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function Const

uint32

 

CalcTextureMemorySize

(
    int32 MipCount
)

Calculates the size of this texture in bytes if it had MipCount mip-levels streamed in.

Public function

int32

 

CalculateMipZSize

(
    int32 Mip
)

Creates and initializes a new Texture2D with the requested settings

Public function

bool

 

CheckArrayTexturesCompatibility()

Public function Const

int32

 

GetNumMips()

Public function Const

int32

 

GetNumSlices()

Public function Const

EPixelFormat

 

GetPixelFormat()

Public function Const

int32

 

GetSizeX()

Initialize texture source from textures in SourceArray.

Public function Const

int32

 

GetSizeY()

Public function

void

 

InvadiateTextureSource()

Public function Static

bool

 

ShaderPlatformSupportsCompression

(
    EShaderPlatform ShaderPlatform
)

Protected function

void

 

UpdateMipGenSettings()

Public function

bool

 

UpdateSourceFromSourceTextures

(
    bool bCreatingNewTexture
)

Overridden from UTexture

Name Description

Public function Virtual Const

uint32

 

CalcTextureMemorySizeEnum

(
    ETextureMipCount Enum
)

Calculates the size of this texture if it had MipCount mip levels streamed in.

Public function Virtual

FTextureReso...

 

CreateResource()

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

Public function Virtual

TMap< FStrin...

 

GetCookedPlatformData()

Public function Virtual Const

EMaterialVal...

 

GetMaterialType()

Public function Virtual Const

uint32

 

GetMaximumDimension()

Return maximum dimension for this texture type.

Public function Virtual

FTexturePlat...

 

GetRunningPlatformData()

Textures that use the derived data cache must override this function and provide a pointer to the linked list of platform data.

Public function Virtual Const

float

 

GetSurfaceHeight()

Public function Virtual Const

float

 

GetSurfaceWidth()

Public function Virtual

void

 

UpdateResource()

Creates a new resource for the texture, and updates any cached references to the resource.

Overridden from UObject

Name Description

Public function Virtual Const

void

 

GetAssetRegistryTags

(
    TArray< FAssetRegistryTag >& OutTa...
)

Gathers a list of asset registry searchable tags which are name/value pairs with some type information This only needs to be implemented for asset objects

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.

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

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