| Name | Type | Description |
|---|---|---|
renderer |
PIXI.Renderer |
The renderer this System works for. |
Extends
Members
-
Extensions being used
Properties:
Name Type Description drawBuffersWEBGL_draw_buffers WebGL v1 extension
depthTextureWEBGL_depth_texture WebGL v1 extension
floatTextureOES_texture_float WebGL v1 extension
loseContextWEBGL_lose_context WebGL v1 extension
vertexArrayObjectOES_vertex_array_object WebGL v1 extension
anisotropicFilteringEXT_texture_filter_anisotropic WebGL v1 and v2 extension
-
trueif the context is lost -
renderer PIXI.Renderer inherited
-
The renderer this manager works for.
-
Either 1 or 2 to reflect the WebGL version being used
Methods
-
Handle the context change event
Name Type Description glWebGLRenderingContext new webgl context
-
Helper class to create a WebGL Context
Name Type Description canvasHTMLCanvasElement the canvas element that we will get the context from
optionsobject An options object that gets passed in to the canvas element containing the context attributes
Returns:
Type Description WebGLRenderingContext the WebGL context -
Generic destroy methods to be overridden by the subclass
-
Auto-populate the extensions
-
Handles a lost webgl context
Name Type Description eventWebGLContextEvent The context lost event.
-
Handles a restored webgl context
-
Initialize the context
Name Type Description glWebGLRenderingContext WebGL context
-
Initialize from context options
Name Type Description optionsobject context attributes
-
Handle the post-render runner event
-
Validate context
Name Type Description glWebGLRenderingContext Render context