Expose VisualServer.viewport_set_use_32_bpc_depth() to the scripting API

Previously, only the Viewport methods/properties were exposed to the
scripting API.
This commit is contained in:
Hugo Locurcio
2022-07-23 03:34:02 +02:00
parent 537c0705f7
commit ed4976d1d5
3 changed files with 13 additions and 2 deletions

View File

@@ -294,7 +294,7 @@
The default exposure used for tonemapping.
</member>
<member name="tonemap_mode" type="int" setter="set_tonemapper" getter="get_tonemapper" enum="Environment.ToneMapper" default="0">
The tonemapping mode to use. Tonemapping is the process that "converts" HDR values to be suitable for rendering on a LDR display. (Godot doesn't support rendering on HDR displays yet.)
The tonemapping mode to use. Tonemapping is the process that "converts" HDR values to be suitable for rendering on a SDR display. (Godot doesn't support rendering on HDR displays yet.)
</member>
<member name="tonemap_white" type="float" setter="set_tonemap_white" getter="get_tonemap_white" default="1.0">
The white reference value for tonemapping. Only effective if the [member tonemap_mode] isn't set to [constant TONE_MAPPER_LINEAR].