aboutsummaryrefslogtreecommitdiff
path: root/servers/visual_server.h
diff options
context:
space:
mode:
authorJuan Linietsky2017-11-09 23:34:01 -0300
committerJuan Linietsky2017-11-09 23:35:34 -0300
commit192a4d7de5c557bdfe83bd180cd603d7e280ebd4 (patch)
tree94ce9779b3f84fbc320ba83624e326d487ca1c04 /servers/visual_server.h
parent0de6cba7e7e114f71fabb3dbe02cf260f7d3e2c6 (diff)
downloadgodot-192a4d7de5c557bdfe83bd180cd603d7e280ebd4.tar.gz
godot-192a4d7de5c557bdfe83bd180cd603d7e280ebd4.tar.zst
godot-192a4d7de5c557bdfe83bd180cd603d7e280ebd4.zip
Reworked how servers preallocate RIDs, should fix #10970
Diffstat (limited to '')
-rw-r--r--servers/visual_server.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/servers/visual_server.h b/servers/visual_server.h
index 64ed54050..86c32a45a 100644
--- a/servers/visual_server.h
+++ b/servers/visual_server.h
@@ -373,7 +373,9 @@ public:
LIGHT_PARAM_MAX
};
- virtual RID light_create(LightType p_type) = 0;
+ virtual RID directional_light_create() = 0;
+ virtual RID omni_light_create() = 0;
+ virtual RID spot_light_create() = 0;
virtual void light_set_color(RID p_light, const Color &p_color) = 0;
virtual void light_set_param(RID p_light, LightParam p_param, float p_value) = 0;