mirror of
https://github.com/godotengine/godot.git
synced 2025-12-07 22:00:10 +00:00
Environment: Refactor code for readability + more
- Makes all boolean setters/getters consistent. - Fixes bug where `glow_hdr_bleed_scale` was not used. - Split CameraEffects to their own source file. - Reorder all Environment method and properties declarations, definitions and bindings to be consistent with each other and with the order of property bindings. - Bind missing enum values added with SDFGI. - Remove unused SDFGI enhance_ssr boolean. - Sync doc changes after SDFGI merge and other misc changes.
This commit is contained in:
parent
719609522a
commit
372136fe75
41 changed files with 1638 additions and 1453 deletions
|
|
@ -152,6 +152,8 @@
|
|||
</argument>
|
||||
<argument index="8" name="region" type="Rect2" default="Rect2i( 0, 0, 0, 0 )">
|
||||
</argument>
|
||||
<argument index="9" name="storage_textures" type="Array" default="[ ]">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -188,6 +190,8 @@
|
|||
</argument>
|
||||
<argument index="9" name="region" type="Rect2" default="Rect2i( 0, 0, 0, 0 )">
|
||||
</argument>
|
||||
<argument index="10" name="storage_textures" type="RID[]" default="[ ]">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -293,6 +297,16 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="framebuffer_create_empty">
|
||||
<return type="RID">
|
||||
</return>
|
||||
<argument index="0" name="size" type="Vector2i">
|
||||
</argument>
|
||||
<argument index="1" name="validate_with_format" type="int" default="-1">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="framebuffer_format_create">
|
||||
<return type="int">
|
||||
</return>
|
||||
|
|
@ -301,6 +315,14 @@
|
|||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="framebuffer_format_create_empty">
|
||||
<return type="int">
|
||||
</return>
|
||||
<argument index="0" name="size" type="Vector2i">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
<method name="framebuffer_format_get_texture_samples">
|
||||
<return type="int" enum="RenderingDevice.TextureSamples">
|
||||
</return>
|
||||
|
|
@ -496,6 +518,8 @@
|
|||
</argument>
|
||||
<argument index="1" name="data" type="PackedByteArray" default="PackedByteArray( )">
|
||||
</argument>
|
||||
<argument index="2" name="usage" type="int" default="0">
|
||||
</argument>
|
||||
<description>
|
||||
</description>
|
||||
</method>
|
||||
|
|
@ -1285,6 +1309,8 @@
|
|||
</constant>
|
||||
<constant name="INDEX_BUFFER_FORMAT_UINT32" value="1" enum="IndexBufferFormat">
|
||||
</constant>
|
||||
<constant name="STORAGE_BUFFER_USAGE_DISPATCH_INDIRECT" value="1" enum="StorageBufferUsage">
|
||||
</constant>
|
||||
<constant name="UNIFORM_TYPE_SAMPLER" value="0" enum="UniformType">
|
||||
</constant>
|
||||
<constant name="UNIFORM_TYPE_SAMPLER_WITH_TEXTURE" value="1" enum="UniformType">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue