Garry's Mod Wiki

TEXTUREFLAGS

Description

Bit flags used by GetRenderTargetEx. Information taken from here

These enumerations do not exist in game and are listed here only for reference

Values

TEXTUREFLAGS_POINTSAMPLE1Low quality, "pixel art" texture filtering.
TEXTUREFLAGS_TRILINEAR2Medium quality texture filtering.
TEXTUREFLAGS_CLAMPS4Clamp S coordinates.
TEXTUREFLAGS_CLAMPT8Clamp T coordinates.
TEXTUREFLAGS_ANISOTROPIC16High quality texture filtering.
TEXTUREFLAGS_HINT_DXT532Used in skyboxes. Makes sure edges are seamless.
TEXTUREFLAGS_PWL_CORRECTED64Purpose unknown.
TEXTUREFLAGS_NORMAL128Texture is a normal map.
TEXTUREFLAGS_NOMIP256Render largest mipmap only. (Does not delete existing mipmaps, just disables them.)
TEXTUREFLAGS_NOLOD512Not affected by texture resolution settings.
TEXTUREFLAGS_ALL_MIPS1024No Minimum Mipmap
TEXTUREFLAGS_PROCEDURAL2048Texture is an procedural texture (code can modify it).
TEXTUREFLAGS_ONEBITALPHA4096One bit alpha channel used.
TEXTUREFLAGS_EIGHTBITALPHA8192Eight bit alpha channel used.
TEXTUREFLAGS_ENVMAP16384Texture is an environment map.
TEXTUREFLAGS_RENDERTARGET32768Texture is a render target.
TEXTUREFLAGS_DEPTHRENDERTARGET65536Texture is a depth render target.
TEXTUREFLAGS_NODEBUGOVERRIDE131072
TEXTUREFLAGS_SINGLECOPY262144
TEXTUREFLAGS_STAGING_MEMORY524288
We advise against using this. It may be changed or removed in a future update.

Aka TEXTUREFLAGS_UNUSED_00080000

TEXTUREFLAGS_IMMEDIATE_CLEANUP1048576
We advise against using this. It may be changed or removed in a future update.

Immediately destroy this texture when its reference count hits zero.

Aka TEXTUREFLAGS_UNUSED_00100000

TEXTUREFLAGS_IGNORE_PICMIP2097152
We advise against using this. It may be changed or removed in a future update.

Aka TEXTUREFLAGS_UNUSED_00200000

TEXTUREFLAGS_UNUSED_004000004194304
TEXTUREFLAGS_NODEPTHBUFFER8388608Do not buffer for Video Processing, generally render distance.
TEXTUREFLAGS_UNUSED_0100000016777216
TEXTUREFLAGS_CLAMPU33554432Clamp U coordinates (for volumetric textures).
TEXTUREFLAGS_VERTEXTEXTURE67108864Usable as a vertex texture
TEXTUREFLAGS_SSBUMP134217728Texture is a SSBump. (SSB)
TEXTUREFLAGS_UNUSED_10000000268435456
TEXTUREFLAGS_BORDER536870912Clamp to border colour on all texture coordinates
TEXTUREFLAGS_STREAMABLE_COARSE1073741824
We advise against using this. It may be changed or removed in a future update.

Aka TEXTUREFLAGS_UNUSED_40000000

TEXTUREFLAGS_STREAMABLE_FINE2147483648
We advise against using this. It may be changed or removed in a future update.

Aka TEXTUREFLAGS_UNUSED_80000000