VisualServerSingleton.TextureFlags

Values

ValueMeaning
textureFlagMipmaps1

Generates mipmaps, which are smaller versions of the same texture to use when zoomed out, keeping the aspect ratio.

textureFlagRepeat2

Repeats the texture (instead of clamp to edge).

textureFlagFilter4

Uses a magnifying filter, to enable smooth zooming in of the texture.

textureFlagsDefault7

Default flags. constant TEXTURE_FLAG_MIPMAPS, constant TEXTURE_FLAG_REPEAT and constant TEXTURE_FLAG_FILTER are enabled.

textureFlagAnisotropicFilter8

Uses anisotropic mipmap filtering. Generates smaller versions of the same texture with different aspect ratios. This results in better-looking textures when viewed from oblique angles.

textureFlagConvertToLinear16

Converts the texture to the sRGB color space.

textureFlagMirroredRepeat32

Repeats the texture with alternate sections mirrored.

textureFlagUsedForStreaming2048

Texture is a video surface.

Meta