Make this render target current (bind its context).
(&self)
| 127 | |
| 128 | /// Make this render target current (bind its context). |
| 129 | pub fn bind(&self) { |
| 130 | self.gl.viewport(0, 0, self.width as i32, self.height as i32); |
| 131 | } |
| 132 | |
| 133 | /// Set camera parameters. |
| 134 | pub fn set_camera(&mut self, x: f32, y: f32, zoom: f32, rotation: f32) { |
no outgoing calls
no test coverage detected