by chinedufn on 1/7/19, 2:38 PM with 19 comments
by spullara on 1/7/19, 4:43 PM
by shepmaster on 1/7/19, 9:04 PM
- https://www.youtube.com/watch?v=M6RLvGqQU10&list=PLgC1L0fKd7...
by ProjectBarks on 1/7/19, 7:02 PM
by ridiculous_fish on 1/7/19, 9:57 PM
fn render_reflection_fbo(
&mut self,
gl: &WebGlRenderingContext,
state: &State,
assets: &Assets,
) {
gl.bind_framebuffer(...);
gl.viewport(...);
gl.clear_color(...);
gl.clear(...);
Setting the viewport and clear color sure look to be mutating, but they are being called on a shared reference (&WebGlRenderingContext).Why is it designed this way? Is this design considered sound, or is it a hack?
by bencollier49 on 1/7/19, 4:13 PM
by CyberDildonics on 1/7/19, 3:13 PM