diff options
author | Bastiaan Olij <mux213@gmail.com> | 2023-08-03 22:10:03 +1000 |
---|---|---|
committer | Bastiaan Olij <mux213@gmail.com> | 2024-02-18 21:54:21 +1100 |
commit | 5a98845655900a7884bf5a73c5406318f1106d77 (patch) | |
tree | 38befda91eaef9ccf35fd909486a5ea0f3b09705 /doc/classes/RenderSceneDataExtension.xml | |
parent | 5f05e2b9b1a3fedcdd7ecb2ab976a2687fd6f19a (diff) | |
download | redot-engine-5a98845655900a7884bf5a73c5406318f1106d77.tar.gz |
Implement hooks into renderer
Diffstat (limited to 'doc/classes/RenderSceneDataExtension.xml')
-rw-r--r-- | doc/classes/RenderSceneDataExtension.xml | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/classes/RenderSceneDataExtension.xml b/doc/classes/RenderSceneDataExtension.xml new file mode 100644 index 0000000000..72eb7fc54d --- /dev/null +++ b/doc/classes/RenderSceneDataExtension.xml @@ -0,0 +1,51 @@ +<?xml version="1.0" encoding="UTF-8" ?> +<class name="RenderSceneDataExtension" inherits="RenderSceneData" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd"> + <brief_description> + This class allows for a RenderSceneData implementation to be made in GDExtension. + </brief_description> + <description> + This class allows for a RenderSceneData implementation to be made in GDExtension. + </description> + <tutorials> + </tutorials> + <methods> + <method name="_get_cam_projection" qualifiers="virtual const"> + <return type="Projection" /> + <description> + Implement this in GDExtension to return the camera [Projection]. + </description> + </method> + <method name="_get_cam_transform" qualifiers="virtual const"> + <return type="Transform3D" /> + <description> + Implement this in GDExtension to return the camera [Transform3D]. + </description> + </method> + <method name="_get_uniform_buffer" qualifiers="virtual const"> + <return type="RID" /> + <description> + Implement this in GDExtension to return the [RID] of the uniform buffer containing the scene data as a UBO. + </description> + </method> + <method name="_get_view_count" qualifiers="virtual const"> + <return type="int" /> + <description> + Implement this in GDExtension to return the view count. + </description> + </method> + <method name="_get_view_eye_offset" qualifiers="virtual const"> + <return type="Vector3" /> + <param index="0" name="view" type="int" /> + <description> + Implement this in GDExtension to return the eye offset for the given [param view]. + </description> + </method> + <method name="_get_view_projection" qualifiers="virtual const"> + <return type="Projection" /> + <param index="0" name="view" type="int" /> + <description> + Implement this in GDExtension to return the view [Projection] for the given [param view]. + </description> + </method> + </methods> +</class> |