Buffer width in pixels.
Buffer height in pixels.
Returns the underlying WebGLRenderbuffer
once ready.
Returns the underlying WebGLRenderbuffer
if it has been initialized, or null
otherwise.
Use getBuffer()
to wait until the buffer is ready.
WebGLRenderbuffer
if ready, null
otherwise.
Binds the renderbuffer to the gl.RENDERBUFFER
binding point.
true
if the buffer has successfully been bound, false
otherwise.
Flags the underlying WebGLRenderbuffer
for deletion.
The buffer cannot be bound afterwards.
Generated using TypeDoc
A GPU buffer that can be rendered to but can't be sampled. For use with a
Framebuffer
.