Fix miscellaneous oddities around the class reference (part 6)

This commit is contained in:
Micky
2025-06-14 01:11:26 +02:00
committed by Micky
parent 9dd6c4dbac
commit be0c68845e
56 changed files with 117 additions and 117 deletions

View File

@ -49,7 +49,7 @@
<param index="1" name="rdo_quality_loss" type="float" />
<description>
Sets the compressor parameters for Basis Universal compression. See also the settings in [ResourceImporterTexture].
[b]Note:[/b] This must be set before [method create_from_image] to take effect.
[b]Note:[/b] This method must be called before [method create_from_image] for this to work.
</description>
</method>
<method name="set_keep_all_compressed_buffers" qualifiers="static">
@ -62,13 +62,12 @@
</methods>
<members>
<member name="keep_compressed_buffer" type="bool" setter="set_keep_compressed_buffer" getter="is_keeping_compressed_buffer" default="false">
When running on the editor, this class will keep the source compressed data in memory. Otherwise, the source compressed data is lost after loading and the resource can't be re saved.
This flag allows to keep the compressed data in memory if you intend it to persist after loading.
[b]Note:[/b] This must be set before [method create_from_image] to take effect.
If [code]true[/code], when running in the editor, this texture will keep the source-compressed data in memory, allowing the data to persist after loading. Otherwise, the source-compressed data is lost after loading and the texture can't be re-saved.
[b]Note:[/b] This property must be set before [method create_from_image] for this to work.
</member>
<member name="resource_local_to_scene" type="bool" setter="set_local_to_scene" getter="is_local_to_scene" overrides="Resource" default="false" />
<member name="size_override" type="Vector2" setter="set_size_override" getter="get_size_override" default="Vector2(0, 0)">
Allow overriding the texture size (for 2D only).
Allows overriding the texture's size (for 2D only).
</member>
</members>
<constants>