Browse Source

doc: Sync classref with current source

Rémi Verschelde 5 years ago
parent
commit
fcce1ca8c4
2 changed files with 12 additions and 0 deletions
  1. 9 0
      doc/classes/Image.xml
  2. 3 0
      doc/classes/ProjectSettings.xml

+ 9 - 0
doc/classes/Image.xml

@@ -351,6 +351,15 @@
 				Loads an image from the binary contents of a PNG file.
 			</description>
 		</method>
+		<method name="load_tga_from_buffer">
+			<return type="int" enum="Error">
+			</return>
+			<argument index="0" name="buffer" type="PoolByteArray">
+			</argument>
+			<description>
+				Loads an image from the binary contents of a TGA file.
+			</description>
+		</method>
 		<method name="load_webp_from_buffer">
 			<return type="int" enum="Error">
 			</return>

+ 3 - 0
doc/classes/ProjectSettings.xml

@@ -260,6 +260,9 @@
 		<member name="audio/output_latency" type="int" setter="" getter="" default="15">
 			Output latency in milliseconds for audio. Lower values will result in lower audio latency at the cost of increased CPU usage. Low values may result in audible cracking on slower hardware.
 		</member>
+		<member name="audio/output_latency.web" type="int" setter="" getter="" default="50">
+			Safer override for [member audio/output_latency] in the Web platform, to avoid audio issues especially on mobile devices.
+		</member>
 		<member name="audio/video_delay_compensation_ms" type="int" setter="" getter="" default="0">
 			Setting to hardcode audio delay when playing video. Best to leave this untouched unless you know what you are doing.
 		</member>