Texture.Flags

Values

ValueMeaning
flagMipmaps1

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

flagRepeat2

Repeats texture (instead of clamp to edge).

flagFilter4

Magnifying filter, to enable smooth zooming in of the texture.

flagsDefault7

Default flags. Generate mipmaps, repeat, and filter are enabled.

flagAnisotropicFilter8

Anisotropic mipmap filtering. Generates smaller versions of the same texture with different aspect ratios. More effective on planes often shown going to the horrizon as those textures (Walls or Ground for example) get squashed in the viewport to different aspect ratios and regular mipmaps keep the aspect ratio so they don't optimize storage that well in those cases.

flagConvertToLinear16

Converts texture to SRGB color space.

flagMirroredRepeat32

Repeats texture with alternate sections mirrored.

flagVideoSurface2048

Texture is a video surface.

Meta