Garry's Mod Wiki

Revision Difference

Enums/TEXTUREFLAGS#516125

<cat>enum</cat> <enumeration> <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> <fields>{{EnumField|TEXTUREFLAGS_POINTSAMPLE|1|Low quality, "pixel art" texture filtering.</fields>⤶ <fields><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</fields>⤶ </enumeration> ⤶ <enumfield|textureflags_trilinear|2|medium quality texture filtering.}}{{enumfield|textureflags_clamps|4|clamp s coordinates.}}{{enumfield|textureflags_clampt|8|clamp t coordinates.}}{{enumfield|textureflags_anisotropic|16|high quality texture filtering.}}{{enumfield|textureflags_hint_dxt5|32|used in skyboxes. makes sure edges are seamless.}}{{enumfield|textureflags_pwl_corrected|64|purpose unknown.}}{{enumfield|textureflags_normal|128|texture is a normal map.}}{{enumfield|textureflags_nomip|256|render largest mipmap only. (does not delete existing mipmaps, just disables them.)}}{{enumfield|textureflags_nolod|512|not affected by texture resolution settings.}}{{enumfield|textureflags_all_mips|1024|no minimum mipmap}}{{enumfield|textureflags_procedural|2048|texture is an procedural texture (code can modify it).}}{{enumfield|textureflags_onebitalpha|4096|one bit alpha channel used.}}{{enumfield|textureflags_eightbitalpha|8192|eight bit alpha channel used.}}{{enumfield|textureflags_envmap|16384|texture is an environment map.}}{{enumfield|textureflags_rendertarget|32768|texture is a render target.}}{{enumfield|textureflags_depthrendertarget|65536|texture is a depth render target.}}{{enumfield|textureflags_nodebugoverride|131072}}{{enumfield|textureflags_singlecopy|262144}}{{enumfield|textureflags_unused_00080000|524288}}{{enumfield|textureflags_immediate_cleanup|1048576|<deprecated></deprecated>⤶ ⤶ <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)}}{{enumfield|textureflags_unused_00200000|2097152}}{{enumfield|textureflags_unused_00400000|4194304}}{{enumfield|textureflags_nodepthbuffer|8388608|do not buffer for video processing, generally render distance.}}{{enumfield|textureflags_unused_01000000|16777216}}{{enumfield|textureflags_clampu|33554432|clamp u coordinates (for volumetric textures).}}{{enumfield|textureflags_vertextexture|67108864|usable as a vertex texture}}{{enumfield|textureflags_ssbump|134217728|texture is a ssbump. (ssb)}}{{enumfield|textureflags_unused_10000000|268435456}}{{enumfield|textureflags_border|536870912|clamp to border colour on all texture coordinates}}{{enumfield|textureflags_unused_40000000|1073741824}}{{enumfield|textureflags_unused_80000000|2147483648}}>⤶ (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> ⤶ </enumfield|textureflags_trilinear|2|medium quality texture filtering.}}{{enumfield|textureflags_clamps|4|clamp s coordinates.}}{{enumfield|textureflags_clampt|8|clamp t coordinates.}}{{enumfield|textureflags_anisotropic|16|high quality texture filtering.}}{{enumfield|textureflags_hint_dxt5|32|used in skyboxes. makes sure edges are seamless.}}{{enumfield|textureflags_pwl_corrected|64|purpose unknown.}}{{enumfield|textureflags_normal|128|texture is a normal map.}}{{enumfield|textureflags_nomip|256|render largest mipmap only. (does not delete existing mipmaps, just disables them.)}}{{enumfield|textureflags_nolod|512|not affected by texture resolution settings.}}{{enumfield|textureflags_all_mips|1024|no minimum mipmap}}{{enumfield|textureflags_procedural|2048|texture is an procedural texture (code can modify it).}}{{enumfield|textureflags_onebitalpha|4096|one bit alpha channel used.}}{{enumfield|textureflags_eightbitalpha|8192|eight bit alpha channel used.}}{{enumfield|textureflags_envmap|16384|texture is an environment map.}}{{enumfield|textureflags_rendertarget|32768|texture is a render target.}}{{enumfield|textureflags_depthrendertarget|65536|texture is a depth render target.}}{{enumfield|textureflags_nodebugoverride|131072}}{{enumfield|textureflags_singlecopy|262144}}{{enumfield|textureflags_unused_00080000|524288}}{{enumfield|textureflags_immediate_cleanup|1048576|<deprecated></deprecated>⤶ ⤶ </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)}}{{enumfield|textureflags_unused_00200000|2097152}}{{enumfield|textureflags_unused_00400000|4194304}}{{enumfield|textureflags_nodepthbuffer|8388608|do not buffer for video processing, generally render distance.}}{{enumfield|textureflags_unused_01000000|16777216}}{{enumfield|textureflags_clampu|33554432|clamp u coordinates (for volumetric textures).}}{{enumfield|textureflags_vertextexture|67108864|usable as a vertex texture}}{{enumfield|textureflags_ssbump|134217728|texture is a ssbump. (ssb)}}{{enumfield|textureflags_unused_10000000|268435456}}{{enumfield|textureflags_border|536870912|clamp to border colour on all texture coordinates}}{{enumfield|textureflags_unused_40000000|1073741824}}{{enumfield|textureflags_unused_80000000|2147483648}}>⤶ (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>>⤶