()
| 152 | |
| 153 | |
| 154 | public void clear() { |
| 155 | pg.pushFramebuffer(); |
| 156 | pg.setFramebuffer(this); |
| 157 | pgl.clearDepth(1); |
| 158 | pgl.clearStencil(0); |
| 159 | pgl.clearColor(0, 0, 0, 0); |
| 160 | pgl.clear(PGL.DEPTH_BUFFER_BIT | |
| 161 | PGL.STENCIL_BUFFER_BIT | |
| 162 | PGL.COLOR_BUFFER_BIT); |
| 163 | pg.popFramebuffer(); |
| 164 | } |
| 165 | |
| 166 | public void copyColor(FrameBuffer dest) { |
| 167 | copy(dest, PGL.COLOR_BUFFER_BIT); |
no test coverage detected