The renderer this System works for.
Readonly
managedA list of managed framebuffers.
Get the size of the current width and height. Returns object with width
and height
values.
Bind a framebuffer.
Optional
framebuffer: FramebufferOptional
frame: Rectangleframe, default is framebuffer size
Optional
mipLevel: 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
Optional
framebuffer: Framebufferby default it blits "into itself", from renderBuffer to texture.
Optional
sourcePixels: Rectanglesource rectangle in pixels
Optional
destPixels: 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
Optional
mask: BUFFER_BITSBitwise OR of masks that indicate the buffers to be cleared, by default COLOR and DEPTH buffers.
Disposes framebuffer.
framebuffer that has to be disposed of
Optional
contextLost: booleanIf context was lost, we suppress all delete function calls
Generated using TypeDoc
System plugin to the renderer to manage framebuffers.
Memberof
PIXI