VisualServerTextureFlags Enumeration |
[Missing <summary> documentation for "T:Godot.VisualServer.TextureFlags"]
Namespace: Godot
public enum TextureFlags
Member name | Value | Description | |
---|---|---|---|
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). | |
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. | |
UsedForStreaming | 2048 | Texture is a video surface. | |
Default | 7 | Default flags. , and are enabled. |