mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fixed typo: 'texure' to 'texture'
This commit is contained in:
parent
7213e67f6a
commit
f50a0cecd9
5 changed files with 5 additions and 5 deletions
|
|
@ -16218,7 +16218,7 @@
|
||||||
<argument index="0" name="path" type="String">
|
<argument index="0" name="path" type="String">
|
||||||
</argument>
|
</argument>
|
||||||
<description>
|
<description>
|
||||||
Load an [ImageTexure].
|
Load an [ImageTexture].
|
||||||
</description>
|
</description>
|
||||||
</method>
|
</method>
|
||||||
<method name="normal_to_xy">
|
<method name="normal_to_xy">
|
||||||
|
|
|
||||||
|
|
@ -1532,7 +1532,7 @@ Ref<BitmapFont> EditorFontImportPlugin::generate_font(const Ref<ResourceImportMe
|
||||||
font->set_ascent(ascent + top_space);
|
font->set_ascent(ascent + top_space);
|
||||||
font->set_distance_field_hint(font_mode == _EditorFontImportOptions::FONT_DISTANCE_FIELD);
|
font->set_distance_field_hint(font_mode == _EditorFontImportOptions::FONT_DISTANCE_FIELD);
|
||||||
|
|
||||||
//register texures
|
//register textures
|
||||||
{
|
{
|
||||||
Ref<ImageTexture> t = memnew(ImageTexture);
|
Ref<ImageTexture> t = memnew(ImageTexture);
|
||||||
int flags;
|
int flags;
|
||||||
|
|
|
||||||
|
|
@ -94,7 +94,7 @@ String Performance::get_monitor_name(Monitor p_monitor) const {
|
||||||
"raster/surface_changes",
|
"raster/surface_changes",
|
||||||
"raster/draw_calls",
|
"raster/draw_calls",
|
||||||
"video/video_mem",
|
"video/video_mem",
|
||||||
"video/texure_mem",
|
"video/texture_mem",
|
||||||
"video/vertex_mem",
|
"video/vertex_mem",
|
||||||
"video/video_mem_max",
|
"video/video_mem_max",
|
||||||
"physics_2d/active_objects",
|
"physics_2d/active_objects",
|
||||||
|
|
|
||||||
|
|
@ -38,7 +38,7 @@ class ImmediateGeometry : public GeometryInstance {
|
||||||
OBJ_TYPE(ImmediateGeometry, GeometryInstance);
|
OBJ_TYPE(ImmediateGeometry, GeometryInstance);
|
||||||
|
|
||||||
RID im;
|
RID im;
|
||||||
//a list of texures drawn need to be kept, to avoid references
|
//a list of textures drawn need to be kept, to avoid references
|
||||||
// in VisualServer from becoming invalid if the texture is no longer used
|
// in VisualServer from becoming invalid if the texture is no longer used
|
||||||
List<Ref<Texture> > cached_textures;
|
List<Ref<Texture> > cached_textures;
|
||||||
bool empty;
|
bool empty;
|
||||||
|
|
|
||||||
|
|
@ -97,7 +97,7 @@ public:
|
||||||
enum TextureFlags {
|
enum TextureFlags {
|
||||||
TEXTURE_FLAG_MIPMAPS = 1, /// Enable automatic mipmap generation - when available
|
TEXTURE_FLAG_MIPMAPS = 1, /// Enable automatic mipmap generation - when available
|
||||||
TEXTURE_FLAG_REPEAT = 2, /// Repeat texture (Tiling), otherwise Clamping
|
TEXTURE_FLAG_REPEAT = 2, /// Repeat texture (Tiling), otherwise Clamping
|
||||||
TEXTURE_FLAG_FILTER = 4, /// Create texure with linear (or available) filter
|
TEXTURE_FLAG_FILTER = 4, /// Create texture with linear (or available) filter
|
||||||
TEXTURE_FLAG_ANISOTROPIC_FILTER = 8,
|
TEXTURE_FLAG_ANISOTROPIC_FILTER = 8,
|
||||||
TEXTURE_FLAG_CONVERT_TO_LINEAR = 16,
|
TEXTURE_FLAG_CONVERT_TO_LINEAR = 16,
|
||||||
TEXTURE_FLAG_MIRRORED_REPEAT = 32, /// Repeat texture, with alternate sections mirrored
|
TEXTURE_FLAG_MIRRORED_REPEAT = 32, /// Repeat texture, with alternate sections mirrored
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue