diff options
author | Bastiaan Olij <mux213@gmail.com> | 2024-07-15 21:27:51 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2024-07-15 22:04:10 +1000 |
commit | 9442eb8194dd93cee015f0147d78d652e7fadc06 (patch) | |
tree | 308a3340dde3e0e10006d31a27b68c1c6c54070a /doc/classes/RenderSceneBuffersRD.xml | |
parent | 97b8ad1af0f2b4a216f6f1263bef4fbc69e56c7b (diff) | |
download | redot-engine-9442eb8194dd93cee015f0147d78d652e7fadc06.tar.gz |
Expose more state in RenderSceneBuffersRD
Diffstat (limited to 'doc/classes/RenderSceneBuffersRD.xml')
-rw-r--r-- | doc/classes/RenderSceneBuffersRD.xml | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/doc/classes/RenderSceneBuffersRD.xml b/doc/classes/RenderSceneBuffersRD.xml index 359f0b33a8..212a65337e 100644 --- a/doc/classes/RenderSceneBuffersRD.xml +++ b/doc/classes/RenderSceneBuffersRD.xml @@ -89,6 +89,12 @@ If [param msaa] is [b]true[/b] and MSAA is enabled, this returns the MSAA variant of the buffer. </description> </method> + <method name="get_fsr_sharpness" qualifiers="const"> + <return type="float" /> + <description> + Returns the FSR sharpness value used while rendering the 3D content (if [method get_scaling_3d_mode] is an FSR mode). + </description> + </method> <method name="get_internal_size" qualifiers="const"> <return type="Vector2i" /> <description> @@ -107,6 +113,24 @@ Returns the render target associated with this buffers object. </description> </method> + <method name="get_scaling_3d_mode" qualifiers="const"> + <return type="int" enum="RenderingServer.ViewportScaling3DMode" /> + <description> + Returns the scaling mode used for upscaling. + </description> + </method> + <method name="get_screen_space_aa" qualifiers="const"> + <return type="int" enum="RenderingServer.ViewportScreenSpaceAA" /> + <description> + Returns the screen-space antialiasing method applied. + </description> + </method> + <method name="get_target_size" qualifiers="const"> + <return type="Vector2i" /> + <description> + Returns the target size of the render buffer (size after upscaling). + </description> + </method> <method name="get_texture" qualifiers="const"> <return type="RID" /> <param index="0" name="context" type="StringName" /> @@ -123,6 +147,12 @@ Returns the texture format information with which a cached texture was created. </description> </method> + <method name="get_texture_samples" qualifiers="const"> + <return type="int" enum="RenderingDevice.TextureSamples" /> + <description> + Returns the number of MSAA samples used. + </description> + </method> <method name="get_texture_slice"> <return type="RID" /> <param index="0" name="context" type="StringName" /> @@ -157,6 +187,12 @@ Returns a specific view of a slice (layer or mipmap) for a cached texture. </description> </method> + <method name="get_use_debanding" qualifiers="const"> + <return type="bool" /> + <description> + Returns [code]true[/code] if debanding is enabled. + </description> + </method> <method name="get_use_taa" qualifiers="const"> <return type="bool" /> <description> |