I search for solutions in this order: Past Code, Unreal Source, Wiki, BUF, groups.yahoo, google, screaming at monitor. – RegularX
UE3:Texture2D (UT3)
Contents
- 1 Properties
- 1.1 Property group 'Texture2D'
- 1.2 Internal variables
- 1.2.1 bForceMiplevelsToBeResident
- 1.2.2 bHasBeenLoadedFromPersistentArchive
- 1.2.3 bHasCancelationPending
- 1.2.4 bIsStreamable
- 1.2.5 FirstResourceMemMip
- 1.2.6 Format
- 1.2.7 Mips
- 1.2.8 MipTailBaseIdx
- 1.2.9 PendingMipChangeRequestStatus
- 1.2.10 RequestedMips
- 1.2.11 ResidentMips
- 1.2.12 ResourceMem
- 1.2.13 SizeX
- 1.2.14 SizeY
- 1.2.15 StreamableTexturesLink
- 1.2.16 TextureFileCacheName
- 1.2.17 TimeToForceMipLevelsToBeResident
- 2 Structs
- Package:
- Engine
- Direct subclasses:
- ShadowMapTexture2D, TerrainWeightMapTexture, TextureFlipBook
- This class in other games:
- UDK
This is an auto-generated page and may need human attention. Please remove the {{autogenerated}} tag if the page seems reasonably complete or replace it with the {{expand}} tag if the page is not yet complete. |
Copyright 1998-2007 Epic Games, Inc. All Rights Reserved.
Properties[edit]
Property group 'Texture2D'[edit]
AddressX[edit]
Type: Texture.TextureAddress
The addressing mode to use for the X axis.
AddressY[edit]
Type: Texture.TextureAddress
The addressing mode to use for the Y axis.
bGlobalForceMipLevelsToBeResident[edit]
Type: bool
Modifiers: const
Global/ serialized version of ForceMiplevelsToBeResident.
Internal variables[edit]
bForceMiplevelsToBeResident[edit]
Type: bool
Modifiers: transient
Override whether to fully stream even if texture hasn't been rendered.
bHasBeenLoadedFromPersistentArchive[edit]
Type: bool
Modifiers: transient, const
Whether the texture has been loaded from a persistent archive. We keep track of this in order to not stream textures that are being re-imported over as they will have a linker but won't have been serialized from disk and are therefore not streamable.
bHasCancelationPending[edit]
Type: bool
Modifiers: transient, const
Whether the current texture mip change request is pending cancelation.
bIsStreamable[edit]
Type: bool
Modifiers: transient, const
Whether the texture is currently streamable or not.
FirstResourceMemMip[edit]
Type: int
Modifiers: private, const, native, transient
keep track of first mip level used for ResourceMem creation
Format[edit]
Type: Texture.EPixelFormat
Modifiers: const
The format of the texture data.
Mips[edit]
Type: Object.IndirectArray_Mirror{TIndirectArray<FTexture2DMipMap>}
Modifiers: native, const
The texture's mip-map data.
MipTailBaseIdx[edit]
Type: int
Modifiers: const
Keep track of the first mip level stored in the packed miptail. it's set to highest mip level if no there's no packed miptail
PendingMipChangeRequestStatus[edit]
Type: Object.ThreadSafeCounter{mutable FThreadSafeCounter}
Modifiers: native, transient, const
Thread safe counter indicating status of mip change request. The below defines are mirrored in UnTex.h.
>= 3 == TEXTURE_STATUS_REQUEST_IN_FLIGHT - a request has been kicked off and is in flight == 2 == TEXTURE_READY_FOR_FINALIZATION - initial request has completed and finalization needs to be kicked off == 1 == TEXTURE_FINALIZATION_IN_PROGRESS - finalization has been kicked off and is in progress == 0 == TEXTURE_READY_FOR_REQUESTS - there are no pending requests/ all requests have been fulfilled == -1 == TEXTURE_PENDING_INITIALIZATION - the renderer hasn't created the resource yet
RequestedMips[edit]
Type: int
Modifiers: transient, const
Number of miplevels the texture should have resident.
ResidentMips[edit]
Type: int
Modifiers: transient, const
Number of miplevels currently resident.
ResourceMem[edit]
Type: pointer{FTexture2DResourceMem}
Modifiers: private, const, native, transient
memory used for directly loading bulk mip data
SizeX[edit]
Type: int
Modifiers: const
The width of the texture.
SizeY[edit]
Type: int
Modifiers: const
The height of the texture.
StreamableTexturesLink[edit]
Type: TextureLinkedListMirror{TLinkedList<UTexture2D*>}
Modifiers: private, native, const, duplicatetransient, noimport
This texture's link in the global streamable texture list.
TextureFileCacheName[edit]
Type: name
Name of texture file cache texture mips are stored in, NAME_None if it is not part of one.
TimeToForceMipLevelsToBeResident[edit]
Type: float
Modifiers: transient
If > 0 overrides texture to fully stream in. Time is decremented by streaming code.
Structs[edit]
Texture2DMipMap[edit]
Modifiers: native
A mip-map of the texture.
- Object.TextureMipBulkData_Mirror{FTextureMipBulkData} Data
- int SizeX
- int SizeY
TextureLinkedListMirror[edit]
Mirror helper structure for linked list of texture objects. The linked list should NOT be traversed by the garbage collector, which is why Element is declared as a pointer.