summaryrefslogtreecommitdiff
path: root/servers/rendering/renderer_rd/renderer_scene_gi_rd.h
diff options
context:
space:
mode:
authorBastiaan Olij <mux213@gmail.com>2021-03-11 14:35:05 +1100
committerBastiaan Olij <mux213@gmail.com>2021-03-11 18:07:33 +1100
commit73b5eb26738e7a6a301a700ab76380f56e5b53fe (patch)
tree3299c4bafa59693a87973349d2ccb2c57a895f00 /servers/rendering/renderer_rd/renderer_scene_gi_rd.h
parent52ab369d5fce4429a174a42f76efcfb3fab3548d (diff)
Combine init_gi and init_sdfgi into a single init
Diffstat (limited to 'servers/rendering/renderer_rd/renderer_scene_gi_rd.h')
-rw-r--r--servers/rendering/renderer_rd/renderer_scene_gi_rd.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/servers/rendering/renderer_rd/renderer_scene_gi_rd.h b/servers/rendering/renderer_rd/renderer_scene_gi_rd.h
index 691a2e1841..c0f3318538 100644
--- a/servers/rendering/renderer_rd/renderer_scene_gi_rd.h
+++ b/servers/rendering/renderer_rd/renderer_scene_gi_rd.h
@@ -53,8 +53,6 @@ class RendererSceneRenderRD;
class RendererSceneGIRD {
private:
- // !BAS! need to see which things become internal..
-
RendererStorageRD *storage;
/* GIPROBE INSTANCE */
@@ -652,9 +650,7 @@ public:
RendererSceneGIRD();
~RendererSceneGIRD();
- // !BAS! Can we merge these two inits? Possibly, need to check
- void init_gi(RendererStorageRD *p_storage);
- void init_sdfgi(RendererSceneSkyRD *p_sky);
+ void init(RendererStorageRD *p_storage, RendererSceneSkyRD *p_sky);
void free();
SDFGI *create_sdfgi(RendererSceneEnvironmentRD *p_env, const Vector3 &p_world_position, uint32_t p_requested_history_size);