checked_update_shader

Function checked_update_shader 

Source
pub fn checked_update_shader(
    shaders: &mut ShaderMap,
    id: ShaderId,
    fragment_source: &str,
)
Expand description

Update the shader source for the given shader ID. This can be used by users who with to implement their own shader hot reloading.