Click or drag to resize

TextureFlagsEnum Enumeration

[Missing <summary> documentation for "T:Godot.Texture.FlagsEnum"]

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public enum FlagsEnum
Members
  Member nameValueDescription
Default7

Default flags. , and are enabled.

Mipmaps1

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

Repeat2

Repeats the texture (instead of clamp to edge).

Note: Ignored when using an AtlasTexture as these don't support repetition.

Filter4

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

AnisotropicFilter8

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.

ConvertToLinear16

Converts the texture to the sRGB color space.

MirroredRepeat32

Repeats the texture with alternate sections mirrored.

Note: Ignored when using an AtlasTexture as these don't support repetition.

VideoSurface2048

Texture is a video surface.

See Also