cf_shader_on_changed¶
Category: graphics
GitHub: cute_graphics.h
Reports when a shader within the shader directory (see cf_shader_directory) changes on-disk.
Parameters | Description |
---|---|
on_changed_fn | The reporting callback. |
udata | An optional void passed back to you whenever on_changed_fn is called. |
Remarks¶
This is an optional function intended to help facilitate runtime shader reloading during development. Callbacks are issued when cf_app_update is called.
Related Pages¶
CF_Shader
cf_make_shader
cf_destroy_shader
cf_apply_shader
CF_Material