mirror of
https://github.com/godotengine/godot-docs.git
synced 2026-01-05 22:09:56 +03:00
Sync classref with current source, adds Enums
This commit is contained in:
@@ -43,8 +43,12 @@ Member Functions
|
||||
| void | :ref:`set_flags<class_Texture_set_flags>` **(** :ref:`int<class_int>` flags **)** |
|
||||
+--------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
|
||||
|
||||
Numeric Constants
|
||||
-----------------
|
||||
Enums
|
||||
-----
|
||||
|
||||
.. _enum_Texture_Flags:
|
||||
|
||||
enum **Flags**
|
||||
|
||||
- **FLAG_MIPMAPS** = **1** --- Generate mipmaps, which are smaller versions of the same texture to use when zoomed out, keeping the aspect ratio.
|
||||
- **FLAG_REPEAT** = **2** --- Repeats texture (instead of clamp to edge).
|
||||
@@ -57,6 +61,7 @@ More effective on planes often shown going to the horrizon as those textures (Wa
|
||||
- **FLAG_MIRRORED_REPEAT** = **32** --- Repeats texture with alternate sections mirrored.
|
||||
- **FLAG_VIDEO_SURFACE** = **4096** --- Texture is a video surface.
|
||||
|
||||
|
||||
Description
|
||||
-----------
|
||||
|
||||
|
||||
Reference in New Issue
Block a user