JavaScript WebGLRenderbuffer : Object
WebGLRenderBuffer
is used as an offscreen destination of rendering by attaching it to a WebGLFramebuffer
. WebGLRenderBuffer
s 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.
Copyright © PUBLIC Contributors