Garry's Mod Wiki

Revision Difference

Enums/TEXTUREFLAGS#516482

<cat>enum</cat> <enum> <description> Bit flags used by <page>Global.GetRenderTargetEx</page>. Clientside only. Information taken from [here](https://developer.valvesoftware.com/wiki/Valve_Texture_Format#Image_flags) <warning>These enumerations do not exist in the game and are listed here purely for reference purposes only.</warning> </description> <items> <item key="TEXTUREFLAGS_POINTSAMPLE" value="1|Low quality, "pixel art" texture filtering."></item>⤶ <item key="TEXTUREFLAGS_TRILINEAR" value="2|Medium quality texture filtering."></item>⤶ <item key="TEXTUREFLAGS_CLAMPS" value="4|Clamp S coordinates."></item>⤶ <item key="TEXTUREFLAGS_CLAMPT" value="8|Clamp T coordinates."></item>⤶ <item key="TEXTUREFLAGS_ANISOTROPIC" value="16|High quality texture filtering."></item>⤶ <item key="TEXTUREFLAGS_HINT_DXT5" value="32|Used in skyboxes. Makes sure edges are seamless."></item>⤶ <item key="TEXTUREFLAGS_PWL_CORRECTED" value="64|Purpose unknown."></item>⤶ <item key="TEXTUREFLAGS_NORMAL" value="128|Texture is a normal map."></item>⤶ <item key="TEXTUREFLAGS_NOMIP" value="256|Render largest mipmap only. (Does not delete existing mipmaps, just disables them.)"></item>⤶ <item key="TEXTUREFLAGS_NOLOD" value="512|Not affected by texture resolution settings."></item>⤶ <item key="TEXTUREFLAGS_ALL_MIPS" value="1024|No Minimum Mipmap"></item>⤶ <item key="TEXTUREFLAGS_PROCEDURAL" value="2048|Texture is an procedural texture (code can modify it)."></item>⤶ <item key="TEXTUREFLAGS_ONEBITALPHA" value="4096|One bit alpha channel used."></item>⤶ <item key="TEXTUREFLAGS_EIGHTBITALPHA" value="8192|Eight bit alpha channel used."></item>⤶ <item key="TEXTUREFLAGS_ENVMAP" value="16384|Texture is an environment map."></item>⤶ <item key="TEXTUREFLAGS_RENDERTARGET" value="32768|Texture is a render target."></item>⤶ <item key="TEXTUREFLAGS_DEPTHRENDERTARGET" value="65536|Texture is a depth render target."></item>⤶ <item key="TEXTUREFLAGS_NODEBUGOVERRIDE" value="131072"></item>⤶ <item key="TEXTUREFLAGS_SINGLECOPY" value="262144"></item>⤶ <item key="TEXTUREFLAGS_UNUSED_00080000" value="524288"></item>⤶ <item key="TEXTUREFLAGS_IMMEDIATE_CLEANUP" value="1048576|<deprecated></deprecated>⤶ Immediately destroy this texture when its reference count hits zero⤶ ⤶ (aka TEXTUREFLAGS_UNUSED_00100000)"></item>⤶ <item key="TEXTUREFLAGS_UNUSED_00200000" value="2097152"></item>⤶ <item key="TEXTUREFLAGS_UNUSED_00400000" value="4194304"></item>⤶ <item key="TEXTUREFLAGS_NODEPTHBUFFER" value="8388608|Do not buffer for Video Processing, generally render distance."></item>⤶ <item key="TEXTUREFLAGS_UNUSED_01000000" value="16777216"></item>⤶ <item key="TEXTUREFLAGS_CLAMPU" value="33554432|Clamp U coordinates (for volumetric textures)."></item>⤶ <item key="TEXTUREFLAGS_VERTEXTEXTURE" value="67108864|Usable as a vertex texture"></item>⤶ <item key="TEXTUREFLAGS_SSBUMP" value="134217728|Texture is a SSBump. (SSB)"></item>⤶ <item key="TEXTUREFLAGS_UNUSED_10000000" value="268435456"></item>⤶ <item key="TEXTUREFLAGS_BORDER" value="536870912|Clamp to border colour on all texture coordinates"></item>⤶ <item key="TEXTUREFLAGS_UNUSED_40000000" value="1073741824"></item>⤶ <item key="TEXTUREFLAGS_UNUSED_80000000" value="2147483648"></item>⤶ <item key="TEXTUREFLAGS_POINTSAMPLE" value="1">Low quality, "pixel art" texture filtering.</item>⤶ <item key="TEXTUREFLAGS_TRILINEAR" value="2">Medium quality texture filtering.</item>⤶ <item key="TEXTUREFLAGS_CLAMPS" value="4">Clamp S coordinates.</item>⤶ <item key="TEXTUREFLAGS_CLAMPT" value="8">Clamp T coordinates.</item>⤶ <item key="TEXTUREFLAGS_ANISOTROPIC" value="16">High quality texture filtering.</item>⤶ <item key="TEXTUREFLAGS_HINT_DXT5" value="32">Used in skyboxes. Makes sure edges are seamless.</item>⤶ <item key="TEXTUREFLAGS_PWL_CORRECTED" value="64">Purpose unknown.</item>⤶ <item key="TEXTUREFLAGS_NORMAL" value="128">Texture is a normal map.</item>⤶ <item key="TEXTUREFLAGS_NOMIP" value="256">Render largest mipmap only. (Does not delete existing mipmaps, just disables them.)</item>⤶ <item key="TEXTUREFLAGS_NOLOD" value="512">Not affected by texture resolution settings.</item>⤶ <item key="TEXTUREFLAGS_ALL_MIPS" value="1024">No Minimum Mipmap</item>⤶ <item key="TEXTUREFLAGS_PROCEDURAL" value="2048">Texture is an procedural texture (code can modify it).</item>⤶ <item key="TEXTUREFLAGS_ONEBITALPHA" value="4096">One bit alpha channel used.</item>⤶ <item key="TEXTUREFLAGS_EIGHTBITALPHA" value="8192">Eight bit alpha channel used.</item>⤶ <item key="TEXTUREFLAGS_ENVMAP" value="16384">Texture is an environment map.</item>⤶ <item key="TEXTUREFLAGS_RENDERTARGET" value="32768">Texture is a render target.</item>⤶ <item key="TEXTUREFLAGS_DEPTHRENDERTARGET" value="65536">Texture is a depth render target.</item>⤶ <item key="TEXTUREFLAGS_NODEBUGOVERRIDE" value="131072⤶ </items> ⤶ </enum>⤶ ⤶ <enumfield">textureflags_singlecopy|262144</item>⤶ <item key="textureflags_unused_00080000" value="524288}}{{enumfield">textureflags_immediate_cleanup|1048576|<deprecated></deprecated>⤶ immediately destroy this texture when its reference count hits zero⤶ ⤶ (aka textureflags_unused_00100000)</item>⤶ <item key="textureflags_unused_00200000" value="2097152}}{{enumfield">textureflags_unused_00400000|4194304</item>⤶ <item key="textureflags_nodepthbuffer" value="8388608">do not buffer for video processing, generally render distance.</item>⤶ <item key="textureflags_unused_01000000" value="16777216}}{{enumfield">textureflags_clampu|33554432|clamp u coordinates (for volumetric textures).</item>⤶ <item key="textureflags_vertextexture" value="67108864">usable as a vertex texture</item>⤶ <item key="textureflags_ssbump" value="134217728">texture is a ssbump. (ssb)</item>⤶ <item key="textureflags_unused_10000000" value="268435456}}{{enumfield">textureflags_border|536870912|clamp to border colour on all texture coordinates</item>⤶ <item key="textureflags_unused_40000000" value="1073741824}}{{enumfield">textureflags_unused_80000000|2147483648</item>>⤶ <suppresswarning>Yes</suppresswarning> ⤶ </enum>⤶ ⤶ </enumfield">textureflags_singlecopy|262144</item>⤶ <item key="textureflags_unused_00080000" value="524288}}{{enumfield">textureflags_immediate_cleanup|1048576|<deprecated></deprecated>⤶ immediately destroy this texture when its reference count hits zero⤶ ⤶ (aka textureflags_unused_00100000)</item>⤶ <item key="textureflags_unused_00200000" value="2097152}}{{enumfield">textureflags_unused_00400000|4194304</item>⤶ <item key="textureflags_nodepthbuffer" value="8388608">do not buffer for video processing, generally render distance.</item>⤶ <item key="textureflags_unused_01000000" value="16777216}}{{enumfield">textureflags_clampu|33554432|clamp u coordinates (for volumetric textures).</item>⤶ <item key="textureflags_vertextexture" value="67108864">usable as a vertex texture</item>⤶ <item key="textureflags_ssbump" value="134217728">texture is a ssbump. (ssb)</item>⤶ <item key="textureflags_unused_10000000" value="268435456}}{{enumfield">textureflags_border|536870912|clamp to border colour on all texture coordinates</item>⤶ <item key="textureflags_unused_40000000" value="1073741824}}{{enumfield">textureflags_unused_80000000|2147483648</item>>⤶