add shadowmap remarks
parent
27b220c104
commit
bd4261ed4f
|
@ -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);
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
|
@ -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);
|
||||||
|
|
||||||
// -----------------------------------------------------------------------------
|
// -----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue