| Name | Type | Description |
|---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Extends
Members
-
managedFramebuffers Array.<PIXI.Framebuffer> readonly
-
A list of managed framebuffers
-
renderer PIXI.Renderer inherited
-
The renderer this manager works for.
-
Get the size of the current width and height. Returns object with
widthandheightvalues. -
Framebuffer value that shows that we don't know what is bound
Methods
-
Bind a framebuffer
Name Type Description framebufferPIXI.Framebuffer framePIXI.Rectangle optional frame, default is framebuffer size
-
Clear the color of the context
Name Type Description rNumber Red value from 0 to 1
gNumber Green value from 0 to 1
bNumber Blue value from 0 to 1
aNumber Alpha value from 0 to 1
-
contextChange () overrides
-
Sets up the renderer context and necessary buffers.
-
destroy () inherited
-
Generic destroy methods to be overridden by the subclass
-
Disposes all framebuffers, but not textures bound to them
Name Type Default Description contextLostboolean false optional If context was lost, we suppress all delete function calls
-
Disposes framebuffer
Name Type Default Description framebufferPIXI.Framebuffer framebuffer that has to be disposed of
contextLostboolean false optional If context was lost, we suppress all delete function calls
-
Initialize framebuffer
Name Type Description framebufferPIXI.Framebuffer -
resets framebuffer stored state, binds screen framebuffer
should be called before renderTexture reset()
-
Resize the framebuffer
Name Type Description framebufferPIXI.Framebuffer -
Set the WebGLRenderingContext's viewport.
Name Type Description xNumber X position of viewport
yNumber Y position of viewport
widthNumber Width of viewport
heightNumber Height of viewport
-
Update the framebuffer
Name Type Description framebufferPIXI.Framebuffer