InternalInitializes the RenderBuffers.
Rendering context
The associated view
Destroys all managed render buffers, releasing their WebGL resources.
Retrieves a render buffer by its ID, creating it if necessary.
Unique identifier for the render buffer
Optionaloptions: {Optional configuration
OptionalcolorFilter?: "linear" | "nearest"OptionaldepthTexture?: booleanWhether the buffer includes a depth texture
OptionaldepthTextureCompare?: booleanOptionalsize?: [number, number]Buffer size [width, height]
The requested or newly created render buffer
Forgets the GPU resources of all managed render buffers after a WebGL context loss, without deleting them (the handles belong to the dead context). Each buffer reallocates lazily on its next bind after restore.
Rebinds all managed render buffers to the restored WebGL context. Their framebuffer attachments are recreated lazily on the next bind.
Manages WebGL render buffers for a view.