add shadowmap remarks

main
Dominik Madarász 2024-08-30 12:25:57 +02:00
parent 27b220c104
commit bd4261ed4f
3 changed files with 6 additions and 6 deletions

View File

@ -17350,8 +17350,8 @@ API shadowmap_t shadowmap(int vsm_texture_width, int pcf_texture_width); // = 51
API void shadowmap_destroy(shadowmap_t *s); API void shadowmap_destroy(shadowmap_t *s);
API void shadowmap_begin(shadowmap_t *s); API void shadowmap_begin(shadowmap_t *s);
API bool shadowmap_step(shadowmap_t *s); API bool shadowmap_step(shadowmap_t *s); //< roll over to the next light if it returns false
API void shadowmap_light(shadowmap_t *s, light_t *l, mat44 cam_proj, mat44 cam_view); //< can be called once per shadowmap_step API void shadowmap_light(shadowmap_t *s, light_t *l, mat44 cam_proj, mat44 cam_view); //< must be called at most once per shadowmap_step
API void shadowmap_end(shadowmap_t *s); API void shadowmap_end(shadowmap_t *s);
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------

View File

@ -382,8 +382,8 @@ API shadowmap_t shadowmap(int vsm_texture_width, int pcf_texture_width); // = 51
API void shadowmap_destroy(shadowmap_t *s); API void shadowmap_destroy(shadowmap_t *s);
API void shadowmap_begin(shadowmap_t *s); API void shadowmap_begin(shadowmap_t *s);
API bool shadowmap_step(shadowmap_t *s); API bool shadowmap_step(shadowmap_t *s); //< roll over to the next light if it returns false
API void shadowmap_light(shadowmap_t *s, light_t *l, mat44 cam_proj, mat44 cam_view); //< can be called once per shadowmap_step API void shadowmap_light(shadowmap_t *s, light_t *l, mat44 cam_proj, mat44 cam_view); //< must be called at most once per shadowmap_step
API void shadowmap_end(shadowmap_t *s); API void shadowmap_end(shadowmap_t *s);
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------

View File

@ -3417,8 +3417,8 @@ API shadowmap_t shadowmap(int vsm_texture_width, int pcf_texture_width); // = 51
API void shadowmap_destroy(shadowmap_t *s); API void shadowmap_destroy(shadowmap_t *s);
API void shadowmap_begin(shadowmap_t *s); API void shadowmap_begin(shadowmap_t *s);
API bool shadowmap_step(shadowmap_t *s); API bool shadowmap_step(shadowmap_t *s); //< roll over to the next light if it returns false
API void shadowmap_light(shadowmap_t *s, light_t *l, mat44 cam_proj, mat44 cam_view); //< can be called once per shadowmap_step API void shadowmap_light(shadowmap_t *s, light_t *l, mat44 cam_proj, mat44 cam_view); //< must be called at most once per shadowmap_step
API void shadowmap_end(shadowmap_t *s); API void shadowmap_end(shadowmap_t *s);
// ----------------------------------------------------------------------------- // -----------------------------------------------------------------------------