Texture2D
Class in Engine · Engine.Texture2D · native
Object › Surface › Texture › Texture2D
Subclasses: ShadowMapTexture2D, TerrainWeightMapTexture, TextureFlipBook
Using it from Lua
h7.find_all("Texture2D") -- live instances
h7.find_class("Engine.Texture2D") -- the class
h7.hook("Engine.Texture2D.Create", fn)
Structs
Texture2DMipMap
TextureLinkedListMirror
| Field | Type |
Element | POINTER |
Next | POINTER |
PrevLink | POINTER |
Properties
| Name | Type | Notes |
AddressX | TextureAddress | |
AddressY | TextureAddress | |
bForceMiplevelsToBeResident | bool | transient |
bGlobalForceMipLevelsToBeResident | bool | const |
bHasBeenLoadedFromPersistentArchive | bool | const, transient |
bHasBeenPaintedInEditor | bool | |
bHasCancelationPending | bool | const, transient |
bIsCompositingSource | bool | const |
bIsEditorOnly | bool | const |
bIsStreamable | bool | const, transient |
CachedATITCMips | IndirectArray_Mirror | const, native |
CachedETCMips | IndirectArray_Mirror | const, native |
CachedFlashMips | UntypedBulkData_Mirror | const, native |
CachedFlashMipsMaxResolution | int | const, native |
CachedPVRTCMips | IndirectArray_Mirror | const, native |
FirstResourceMemMip | int | const, private |
ForceMipLevelsToBeResidentTimestamp | float | transient, private |
Format | EPixelFormat | const |
Mips | IndirectArray_Mirror | const, native |
MipsToRemoveOnCompress | int | |
MipTailBaseIdx | int | const |
OriginalSizeX | int | const |
OriginalSizeY | int | const |
PendingMipChangeRequestStatus | ThreadSafeCounter | const, transient, native |
RequestedMips | int | const, transient |
ResidentMips | int | const, transient |
ResourceMem | pointer | const, transient, native, private |
SizeX | int | const |
SizeY | int | const |
StreamableTexturesLink | TextureLinkedListMirror | const, native, private |
StreamingIndex | int | const, transient, private |
SystemMemoryData | array | private |
TextureFileCacheGuid | guid | const, native |
TextureFileCacheName | name | |
Timer | float | const, transient, native, private |
Functions
| Name | Declaration |
Create | static final native function Texture2D Create(int InSizeX, int InSizeY, optional EPixelFormat InFormat = PF_A8R8G8B8) |
CreateListOfTexturesToUnload | static final native function int CreateListOfTexturesToUnload(int TotalBytesNeeded, out array<Texture> ListOfTexturesToUnload, optional out array<Texture> ListOfTexturesToAvoid, optional const out array<TextureGroup> OnlyUseTheseTextureGroups) |
GetBytesUsedForTextureResources | static final native function int GetBytesUsedForTextureResources(const out array<Texture> ListOfTextures) |
LoadTextureResources | static final native function int LoadTextureResources(const out array<Texture> ListOfTexturesToLoad) |
SetForceMipLevelsToBeResident | final native function SetForceMipLevelsToBeResident(float Seconds, optional int CinematicTextureGroups = 0) |
UnloadTextureResources | static final native function int UnloadTextureResources(const out array<Texture> ListOfTexturesToUnload) |
Default values
StreamingIndex=-1
MipsToRemoveOnCompress=0
bIsEditorOnly=false
Inherited
| From | Members |
| Texture | 40 properties, 0 functions |
| Surface | 0 properties, 2 functions |
| Object | 13 properties, 308 functions |