The renderer this System works for.
ReadonlymanagedA list of managed framebuffers.
Get the size of the current width and height. Returns object with width and height values.
Bind a framebuffer.
Optionalframebuffer: FramebufferOptionalframe: Rectangleframe, default is framebuffer size
OptionalmipLevel: numberoptional mip level to set on the framebuffer - defaults to 0
Only works with WebGL2
blits framebuffer to another of the same or bigger size after that target framebuffer is bound
Fails with WebGL warning if blits multisample framebuffer to different size
Optionalframebuffer: Framebufferby default it blits "into itself", from renderBuffer to texture.
OptionalsourcePixels: Rectanglesource rectangle in pixels
OptionaldestPixels: Rectangledest rectangle in pixels, assumed to be the same as sourcePixels
Clear the color of the context
Red value from 0 to 1
Green value from 0 to 1
Blue value from 0 to 1
Alpha value from 0 to 1
Optionalmask: BUFFER_BITSBitwise OR of masks that indicate the buffers to be cleared, by default COLOR and DEPTH buffers.
Generic destroy methods to be overridden by the subclass
Disposes all framebuffers, but not textures bound to them.
OptionalcontextLost: booleanIf context was lost, we suppress all delete function calls
Disposes framebuffer.
framebuffer that has to be disposed of
OptionalcontextLost: booleanIf context was lost, we suppress all delete function calls
Resets framebuffer stored state, binds screen framebuffer. Should be called before renderTexture reset().
Set the WebGLRenderingContext's viewport.
X position of viewport
Y position of viewport
Width of viewport
Height of viewport
System plugin to the renderer to manage framebuffers.
Memberof
PIXI