diff options
author | Bastiaan Olij <mux213@gmail.com> | 2023-07-07 15:24:20 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2023-07-26 23:48:30 +1000 |
commit | 4874b96033131e4489d9d843ea226479ce32ff8b (patch) | |
tree | 08c1735158cc1c3388450552792e03b6c8bfe73e /doc/classes/RenderSceneBuffersConfiguration.xml | |
parent | 202e4b2c1e7f8b25738b93d0e4d5066453d3edf3 (diff) | |
download | redot-engine-4874b96033131e4489d9d843ea226479ce32ff8b.tar.gz |
Expose RenderingSceneBuffers through ClassDB
Diffstat (limited to 'doc/classes/RenderSceneBuffersConfiguration.xml')
-rw-r--r-- | doc/classes/RenderSceneBuffersConfiguration.xml | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/doc/classes/RenderSceneBuffersConfiguration.xml b/doc/classes/RenderSceneBuffersConfiguration.xml new file mode 100644 index 0000000000..cb36955206 --- /dev/null +++ b/doc/classes/RenderSceneBuffersConfiguration.xml @@ -0,0 +1,40 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="RenderSceneBuffersConfiguration" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + Configuration object used to setup a [RenderSceneBuffers] object. + </brief_description> + <description> + This configuration object is created and populated by the render engine on a viewport change and used to (re)configure a [RenderSceneBuffers] object. + </description> + <tutorials> + </tutorials> + <members> + <member name="fsr_sharpness" type="float" setter="set_fsr_sharpness" getter="get_fsr_sharpness" default="0.0"> + FSR Sharpness applicable if FSR upscaling is used. + </member> + <member name="internal_size" type="Vector2i" setter="set_internal_size" getter="get_internal_size" default="Vector2i(0, 0)"> + The size of the 3D render buffer used for rendering. + </member> + <member name="msaa_3d" type="int" setter="set_msaa_3d" getter="get_msaa_3d" enum="RenderingServer.ViewportMSAA" default="0"> + The MSAA mode we're using for 3D rendering. + </member> + <member name="render_target" type="RID" setter="set_render_target" getter="get_render_target" default="RID()"> + The render target associated with these buffer. + </member> + <member name="scaling_3d_mode" type="int" setter="set_scaling_3d_mode" getter="get_scaling_3d_mode" enum="RenderingServer.ViewportScaling3DMode" default="255"> + The requested scaling mode with which we upscale/downscale if [member internal_size] and [member target_size] are not equal. + </member> + <member name="screen_space_aa" type="int" setter="set_screen_space_aa" getter="get_screen_space_aa" enum="RenderingServer.ViewportScreenSpaceAA" default="0"> + The requested screen space AA applied in post processing. + </member> + <member name="target_size" type="Vector2i" setter="set_target_size" getter="get_target_size" default="Vector2i(0, 0)"> + The target (upscale) size if scaling is used. + </member> + <member name="texture_mipmap_bias" type="float" setter="set_texture_mipmap_bias" getter="get_texture_mipmap_bias" default="0.0"> + Bias applied to mipmaps. + </member> + <member name="view_count" type="int" setter="set_view_count" getter="get_view_count" default="1"> + The number of views we're rendering. + </member> + </members> +</class> |