mirror of
https://github.com/godotengine/godot.git
synced 2024-12-09 10:09:20 +08:00
Merge pull request #11681 from ISylvox/texure-to-texture
Fix Typo: 'Texure' to 'Texture'
This commit is contained in:
commit
11c7323043
@ -41,7 +41,7 @@
|
||||
<argument index="3" name="userdata" type="Variant">
|
||||
</argument>
|
||||
<description>
|
||||
Queue a resource being edited for preview (using an instance). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texure (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.
|
||||
Queue a resource being edited for preview (using an instance). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.
|
||||
</description>
|
||||
</method>
|
||||
<method name="queue_resource_preview">
|
||||
@ -56,7 +56,7 @@
|
||||
<argument index="3" name="userdata" type="Variant">
|
||||
</argument>
|
||||
<description>
|
||||
Queue a resource file for preview (using a path). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texure (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.
|
||||
Queue a resource file for preview (using a path). Once the preview is ready, your receiver.receiver_func will be called either containing the preview texture or an empty texture (if no preview was possible). Callback must have the format: (path,texture,userdata). Userdata can be anything.
|
||||
</description>
|
||||
</method>
|
||||
<method name="remove_preview_generator">
|
||||
|
@ -66,7 +66,7 @@
|
||||
<argument index="0" name="path" type="String">
|
||||
</argument>
|
||||
<description>
|
||||
Load an [ImageTexure].
|
||||
Load an [ImageTexture].
|
||||
</description>
|
||||
</method>
|
||||
<method name="set_data">
|
||||
|
@ -589,7 +589,7 @@ vec3 textureDualParaboloid(sampler2DArray p_tex, vec3 p_vec,float p_roughness) {
|
||||
norm.xy=norm.xy * vec2(0.5,0.25) + vec2(0.5,0.25);
|
||||
|
||||
// we need to lie the derivatives (normg) and assume that DP side is always the same
|
||||
// to get proper texure filtering
|
||||
// to get proper texture filtering
|
||||
vec2 normg=norm.xy;
|
||||
if (norm.z>0.0) {
|
||||
norm.y=0.5-norm.y+0.5;
|
||||
|
@ -94,7 +94,7 @@ String Performance::get_monitor_name(Monitor p_monitor) const {
|
||||
"raster/surface_changes",
|
||||
"raster/draw_calls",
|
||||
"video/video_mem",
|
||||
"video/texure_mem",
|
||||
"video/texture_mem",
|
||||
"video/vertex_mem",
|
||||
"video/video_mem_max",
|
||||
"physics_2d/active_objects",
|
||||
|
@ -38,7 +38,7 @@ class ImmediateGeometry : public GeometryInstance {
|
||||
GDCLASS(ImmediateGeometry, GeometryInstance);
|
||||
|
||||
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
|
||||
List<Ref<Texture> > cached_textures;
|
||||
bool empty;
|
||||
|
@ -85,7 +85,7 @@ public:
|
||||
enum TextureFlags {
|
||||
TEXTURE_FLAG_MIPMAPS = 1, /// Enable automatic mipmap generation - when available
|
||||
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_CONVERT_TO_LINEAR = 16,
|
||||
TEXTURE_FLAG_MIRRORED_REPEAT = 32, /// Repeat texture, with alternate sections mirrored
|
||||
|
Loading…
Reference in New Issue
Block a user