Texture.Flags/flags - multiple declarations

Function Texture.flags

The texture's flags. flags are used to set various properties of the Texture.

long flags() nothrow @property @nogc;

void flags (
  long v
) nothrow @property @nogc;

Enum Texture.Flags

enum Flags : int { ... }

Enum members

NameDescription
flagAnisotropicFilter 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.
flagConvertToLinear Converts the texture to the sRGB color space.
flagFilter Uses a magnifying filter, to enable smooth zooming in of the texture.
flagMipmaps Generates mipmaps, which are smaller versions of the same texture to use when zoomed out, keeping the aspect ratio.
flagMirroredRepeat Repeats the texture with alternate sections mirrored.
flagRepeat Repeats the texture (instead of clamp to edge).
flagsDefault Default flags. constant FLAG_MIPMAPS, constant FLAG_REPEAT and constant FLAG_FILTER are enabled.
flagVideoSurface Texture is a video surface.