Files
godot-docs/classes/class_renderscenebuffersextension.rst
2023-07-29 03:18:36 +00:00

102 lines
4.7 KiB
ReStructuredText

:github_url: hide
.. DO NOT EDIT THIS FILE!!!
.. Generated automatically from Godot engine sources.
.. Generator: https://github.com/godotengine/godot/tree/master/doc/tools/make_rst.py.
.. XML source: https://github.com/godotengine/godot/tree/master/doc/classes/RenderSceneBuffersExtension.xml.
.. _class_RenderSceneBuffersExtension:
RenderSceneBuffersExtension
===========================
**Inherits:** :ref:`RenderSceneBuffers<class_RenderSceneBuffers>` **<** :ref:`RefCounted<class_RefCounted>` **<** :ref:`Object<class_Object>`
This class allows for a RenderSceneBuffer implementation to be made in GDExtension.
.. rst-class:: classref-introduction-group
Description
-----------
This class allows for a RenderSceneBuffer implementation to be made in GDExtension.
.. rst-class:: classref-reftable-group
Methods
-------
.. table::
:widths: auto
+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_configure<class_RenderSceneBuffersExtension_method__configure>` **(** :ref:`RenderSceneBuffersConfiguration<class_RenderSceneBuffersConfiguration>` config **)** |virtual| |
+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_set_fsr_sharpness<class_RenderSceneBuffersExtension_method__set_fsr_sharpness>` **(** :ref:`float<class_float>` fsr_sharpness **)** |virtual| |
+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_set_texture_mipmap_bias<class_RenderSceneBuffersExtension_method__set_texture_mipmap_bias>` **(** :ref:`float<class_float>` texture_mipmap_bias **)** |virtual| |
+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
| void | :ref:`_set_use_debanding<class_RenderSceneBuffersExtension_method__set_use_debanding>` **(** :ref:`bool<class_bool>` use_debanding **)** |virtual| |
+------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
.. rst-class:: classref-section-separator
----
.. rst-class:: classref-descriptions-group
Method Descriptions
-------------------
.. _class_RenderSceneBuffersExtension_method__configure:
.. rst-class:: classref-method
void **_configure** **(** :ref:`RenderSceneBuffersConfiguration<class_RenderSceneBuffersConfiguration>` config **)** |virtual|
Implement this in GDExtension to handle the (re)sizing of a viewport.
.. rst-class:: classref-item-separator
----
.. _class_RenderSceneBuffersExtension_method__set_fsr_sharpness:
.. rst-class:: classref-method
void **_set_fsr_sharpness** **(** :ref:`float<class_float>` fsr_sharpness **)** |virtual|
Implement this in GDExtension to record a new FSR sharpness value.
.. rst-class:: classref-item-separator
----
.. _class_RenderSceneBuffersExtension_method__set_texture_mipmap_bias:
.. rst-class:: classref-method
void **_set_texture_mipmap_bias** **(** :ref:`float<class_float>` texture_mipmap_bias **)** |virtual|
Implement this in GDExtension to change the texture mipmap bias.
.. rst-class:: classref-item-separator
----
.. _class_RenderSceneBuffersExtension_method__set_use_debanding:
.. rst-class:: classref-method
void **_set_use_debanding** **(** :ref:`bool<class_bool>` use_debanding **)** |virtual|
Implement this in GDExtension to react to the debanding flag changing.
.. |virtual| replace:: :abbr:`virtual (This method should typically be overridden by the user to have any effect.)`
.. |const| replace:: :abbr:`const (This method has no side effects. It doesn't modify any of the instance's member variables.)`
.. |vararg| replace:: :abbr:`vararg (This method accepts any number of arguments after the ones described here.)`
.. |constructor| replace:: :abbr:`constructor (This method is used to construct a type.)`
.. |static| replace:: :abbr:`static (This method doesn't need an instance to be called, so it can be called directly using the class name.)`
.. |operator| replace:: :abbr:`operator (This method describes a valid operator to use with this type as left-hand operand.)`
.. |bitfield| replace:: :abbr:`BitField (This value is an integer composed as a bitmask of the following flags.)`