Creates a renderbuffer.
The rendering context of the renderbuffer.
The format of the renderbuffer.
The width of the renderbuffer.
The height of the renderbuffer.
Readonly
contextThe rendering context of this renderbuffer.
Readonly
formatThe format of this renderbuffer.
Readonly
heightThe height of this renderbuffer.
Readonly
internalThe WebGL API interface of this renderbuffer.
Readonly
widthThe width of this renderbuffer.
Executes the given function with this renderbuffer bound, then re-binds the previously-bound renderbuffer.
The function to execute.
The return value of the executed function.
Static
Private
bindBinds the given renderbuffer.
The rendering context.
The renderbuffer.
Static
Private
getGets the currently-bound renderbuffer.
The rendering context.
The renderbuffer.
Static
unbindUnbinds all renderbuffers from the given rendering context.
The rendering context.
Generated using TypeDoc
A buffer that can contain an image or be the source or target of a rendering operation.
See
Framebuffers