Legacy:Texture (UT3)/Enums
From Unreal Wiki, The Unreal Engine Documentation Site
These enums are declared in the UT3 Texture class.
EPixelFormat
Specifies the type of pixel data used to store this texture.
- PF_Unknown
- Unknown type.
- PF_A32B32G32R32F
- Single precision (32 bit) floating point values for components Alpha, Blue, Green and Red.
- PF_A8R8G8B8
- 8 bit unsigned integer values for components Alpha, Blue, Green and Red.
- PF_G8
- 8 bit gray scale values.
- PF_G16
- 16 bit gray scale values.
- PF_DXT1
- DXT1 compressed.
- PF_DXT3
- DXT3 compressed.
- PF_DXT5
- DXT5 compressed.
- PF_UYVY
- PF_FloatRGB
- PF_FloatRGBA
- PF_DepthStencil
- PF_ShadowDepth
- PF_FilteredShadowDepth
- PF_R32F
- PF_G16R16
- PF_G16R16F
- PF_G32R32F
- PF_A2B10G10R10
- 2 bit unsigned integer values for Alpha component, 10 bit unsigned integer values for components Blue, Green and Red.
- PF_A16B16G16R16
- 16 bit unsigned integer values for components Alpha, Blue, Green and Red.
- PF_D24
TextureAddress
Specifies the method to map pixel coordinates smaller than 0 or larger than the texture size to actual texture pixels.
- TA_Wrap
- Simply repeats the entire texture to fill the additional coordinates.
- TA_Clamp
- Repeats only the border pixels to fill the additional coordinates.
- TA_Mirror
- Mirrors the texture along its borders to fill the additional coordinates.
Example of TA_Wrap: | Example of TA_Clamp: | Example of TA_Mirror: |
[[Image:Legacy_TextureAddress-Wrap.png|]] | [[Image:Legacy_TextureAddress-Clamp.png|]] | [[Image:Legacy_TextureAddress-Mirror.png|]] |
(The green frame marks the actual texture.) |
TextureCompressionSettings
Selects the compression type of a texture.
- TC_Default
- Compression as standard RGB(A) texture.
- TC_Normalmap
- Compress as normal map without alpha channel.
- TC_Displacementmap
- Compress as displacement map.
- TC_NormalmapAlpha
- Compress as normal map with alpha channel.
- TC_Grayscale
- Compress as gray scale texture.
- TC_HighDynamicRange
- Compress as Wikipedia:High Dynamic Range texture.
TextureFilter
- TF_Nearest
- TF_Linear
TextureGroup
Texture groups for LOD.
- TEXTUREGROUP_World
- TEXTUREGROUP_WorldNormalMap
- TEXTUREGROUP_WorldSpecular
- TEXTUREGROUP_Character
- TEXTUREGROUP_CharacterNormalMap
- TEXTUREGROUP_CharacterSpecular
- TEXTUREGROUP_Weapon
- TEXTUREGROUP_WeaponNormalMap
- TEXTUREGROUP_WeaponSpecular
- TEXTUREGROUP_Vehicle
- TEXTUREGROUP_VehicleNormalMap
- TEXTUREGROUP_VehicleSpecular
- TEXTUREGROUP_Effects
- TEXTUREGROUP_Skybox
- TEXTUREGROUP_UI
- TEXTUREGROUP_LightAndShadowMap
- TEXTUREGROUP_RenderTarget