TextureFlagsEnum Enumeration |
[Missing <summary> documentation for "T:Godot.Texture.FlagsEnum"]
Namespace: Godot
public enum FlagsEnum
Member name | Value | Description | |
---|---|---|---|
Default | 7 | Default flags. , and are enabled. | |
Mipmaps | 1 | Generates mipmaps, which are smaller versions of the same texture to use when zoomed out, keeping the aspect ratio. | |
Repeat | 2 | Repeats the texture (instead of clamp to edge). Note: Ignored when using an AtlasTexture as these don't support repetition. | |
Filter | 4 | Uses a magnifying filter, to enable smooth zooming in of the texture. | |
AnisotropicFilter | 8 | 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. | |
ConvertToLinear | 16 | Converts the texture to the sRGB color space. | |
MirroredRepeat | 32 | Repeats the texture with alternate sections mirrored. Note: Ignored when using an AtlasTexture as these don't support repetition. | |
VideoSurface | 2048 | Texture is a video surface. |