JavaScripture
Contribute via GitHub Feedback

WebGLRenderbuffer : Object

WebGLRenderBuffer is used as an offscreen destination of rendering by attaching it to a WebGLFramebuffer. WebGLRenderBuffers are created with createRenderbuffer(). Use readPixels() to retrieve the contents of the buffer. If you need to draw the offscreen rendered content into the canvas, use a WebGLTexture as the destination of the frame buffer instead of a render buffer.