diff options
Diffstat (limited to 'renderer.hpp')
-rw-r--r-- | renderer.hpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/renderer.hpp b/renderer.hpp index ae638e0..c49c804 100644 --- a/renderer.hpp +++ b/renderer.hpp @@ -36,7 +36,9 @@ struct Renderer { static constexpr int max_cameras = 16; Hash_Map<Camera_Id, Camera, max_cameras> cameras; Drawlist drawlists[drawlist_count]; + Staged_Buffer globals; int camera_count; + int frame; Sampler_Id clamped_linear; Texture_Id env_cubemap; @@ -60,6 +62,8 @@ struct Renderer { const Camera& get_camera(Camera_Id cam) const; void destroy_camera(Camera_Id cam); void setcam(int did, Camera_Id cam); + + void update_globals(const Lighting* l, Device* d, Context& ctx); }; #endif |