X-Git-Url: https://harrygodden.com/git/?a=blobdiff_plain;f=world_render.h;h=a28221fb2af9717ce4f9ba6a79cfe123b4685e4e;hb=22f62f001f21d1b91fefd9fc495c122d9ddf205a;hp=d90c01b26f9bbc332329d3a010d81883977d5778;hpb=a5cdfe2fc872f03c7988d63498abb7e7827325c1;p=carveJwlIkooP6JGAAIwe30JlM.git diff --git a/world_render.h b/world_render.h index d90c01b..a28221f 100644 --- a/world_render.h +++ b/world_render.h @@ -60,22 +60,22 @@ struct world_render{ u32 text_particle_count; } static world_render; -VG_STATIC void world_render_init(void); +static void world_render_init(void); -VG_STATIC void world_link_lighting_ub( world_instance *world, GLuint shader ); -VG_STATIC void world_bind_position_texture( world_instance *world, +static void world_link_lighting_ub( world_instance *world, GLuint shader ); +static void world_bind_position_texture( world_instance *world, GLuint shader, GLuint location, int slot ); -VG_STATIC void world_bind_light_array( world_instance *world, +static void world_bind_light_array( world_instance *world, GLuint shader, GLuint location, int slot ); -VG_STATIC void world_bind_light_index( world_instance *world, +static void world_bind_light_index( world_instance *world, GLuint shader, GLuint location, int slot ); -VG_STATIC void render_world_position( world_instance *world, camera *cam ); -VG_STATIC void render_world_depth( world_instance *world, camera *cam ); -VG_STATIC void render_world( world_instance *world, camera *cam, +static void render_world_position( world_instance *world, camera *cam ); +static void render_world_depth( world_instance *world, camera *cam ); +static void render_world( world_instance *world, camera *cam, int layer_depth ); -VG_STATIC void render_world_cubemaps( world_instance *world ); +static void render_world_cubemaps( world_instance *world ); #endif /* WORLD_RENDER_H */