Various blend modes supported by PIXI.
Various blend modes supported by PIXI. IMPORTANT - The WebGL renderer only supports the NORMAL, ADD, MULTIPLY and SCREEN blend modes. Anything else will silently act like NORMAL.
The default render options if none are supplied to PIXI.WebGLRenderer or PIXI.CanvasRenderer.
The default render options if none are supplied to PIXI.WebGLRenderer or PIXI.CanvasRenderer.
Various webgl draw modes.
Various webgl draw modes. These can be used to specify which GL drawMode to use under certain situations and renderers.
Constant: Two Pi
Constant conversion factor for converting radians to degrees.
Constant to identify the Renderer Type.
Constant to identify the Renderer Type.
The prefix that denotes a URL is for a retina asset.
The scale modes that are supported by pixi.
The scale modes that are supported by pixi. The DEFAULT scale mode affects the default scaling mode of future operations. It can be re-assigned to either LINEAR or NEAREST, depending upon suitability.
Constants that identify shapes, mainly to prevent instanceof calls.
Constants that identify shapes, mainly to prevent instanceof calls.
Target frames per millisecond.
String of the current PIXI version
This helper function will automatically detect which renderer you should be using.
This helper function will automatically detect which renderer you should be using. WebGL is the preferred renderer as it is a lot faster. If webGL is not supported by the browser then this function will return a canvas renderer.
the width of the renderers view
the height of the renderers view
The optional renderer parameters
prevents selection of WebGL renderer, even if such is present
WebGL renderer if available, otherwise CanvasRenderer
Filter implementations
Filter implementations
A pre-made instance of the loader that can be used to loader resources.
PIXI.loaders object
PIXI.loaders object
Pixi.js — A 2D JavaScript Renderer
The aim of this project is to provide a fast lightweight 2D library that works across all devices. The Pixi renderer allows everyone to enjoy the power of hardware acceleration without prior knowledge of WebGL. Also, it's fast. Really fast.
If you want to keep up to date with the latest pixi.js news then feel free to follow us on twitter (@doormat23, and @rolnaaba) and we will keep you posted! You can also check back on our site as any breakthroughs will be posted up there too!
3.0
http://pixijs.github.io/docs