Texture.Flags

Values

ValueMeaning
flagMipmaps1

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

flagRepeat2

Repeats the texture (instead of clamp to edge). Note: Ignored when using an AtlasTexture as these don't support repetition.

flagFilter4

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

flagsDefault7

Default flags. constant FLAG_MIPMAPS, constant FLAG_REPEAT and constant FLAG_FILTER are enabled.

flagAnisotropicFilter8

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.

flagConvertToLinear16

Converts the texture to the sRGB color space.

flagMirroredRepeat32

Repeats the texture with alternate sections mirrored. Note: Ignored when using an AtlasTexture as these don't support repetition.

flagVideoSurface2048

Texture is a video surface.

Meta