JavaScript WebGLFramebuffer : Object
WebGLFrameBuffer
describes an intermediate offscreen drawing surface. The actual content of the
surface is stored in a either a WebGLRenderbuffer
or WebGLTexture
. WebGLFrameBuffer
s are created with createFramebuffer()
. Use framebufferTexture2D()
to associate the framebuffer with a
WebGLTexture
that can be used in subsequent drawing operations. Use framebufferRenderbuffer()
to associate the framebuffer with a
WebGLRenderingBuffer
if you do not need to draw the offscreen surface since the graphics hardware can
optimize the render buffer for that case.
Copyright © PUBLIC Contributors