Classes
- AccessibilityManager
- BasePrepare
- BaseRenderTexture
- BaseTexture
- BlendModeManager
- Bounds
- CanvasExtract
- CanvasMaskManager
- CanvasPrepare
- CanvasRenderer
- CanvasRenderTarget
- Circle
- Container
- CountLimiter
- DisplayObject
- Ellipse
- Filter
- FilterManager
- Graphics
- GraphicsData
- GraphicsRenderer
- MaskManager
- Matrix
- ObjectRenderer
- ObservablePoint
- ParticleShader
- Point
- Polygon
- PrimitiveShader
- Quad
- Rectangle
- RenderTarget
- RenderTexture
- RoundedRectangle
- Shader
- Sprite
- SpriteMaskFilter
- StencilManager
- SystemRenderer
- Text
- TextStyle
- Texture
- TextureGarbageCollector
- TextureManager
- TimeLimiter
- Transform
- TransformBase
- TransformStatic
- VideoBaseTexture
- WebGLExtract
- WebGLManager
- WebGLPrepare
- WebGLRenderer
- WebGLState
Namespaces
- AccessibilityManager
- CanvasTinter
- extras
- filters
- GroupD8
- interaction
- loaders
- mesh
- particles
- prepare
- settings
- ticker
- utils
Members
-
static,constantPIXI.DEFAULT_RENDER_OPTIONS
-
- Deprecated
- since version 4.2.0
- See:
-
static,constantPIXI.FILTER_RESOLUTION
-
- Deprecated
- since version 4.2.0
- See:
-
staticPIXI.loader
-
A premade instance of the loader that can be used to load resources.
Properties:
Type Description PIXI.loaders.Loader -
static,constantPIXI.MIPMAP_TEXTURES
-
- Deprecated
- since version 4.2.0
- See:
-
static,constantPIXI.RESOLUTION
-
- Deprecated
- since version 4.2.0
- See:
-
static,constantPIXI.RETINA_PREFIX
-
- Deprecated
- since version 4.2.0
- See:
-
static,constantPIXI.SPRITE_BATCH_SIZE
-
- Deprecated
- since version 4.2.0
- See:
-
static,constantPIXI.SPRITE_MAX_TEXTURES
-
- Deprecated
- since version 4.2.0
- See:
-
static,constantPIXI.TARGET_FPMS
-
- Deprecated
- since version 4.2.0
- See:
Methods
-
staticPIXI.autoDetectRenderer(width, height, options, noWebGL){PIXI.WebGLRenderer|PIXI.CanvasRenderer}
-
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 rendererName Type Default Description widthnumber 800 optional the width of the renderers view
heightnumber 600 optional the height of the renderers view
optionsobject optional The optional renderer parameters
Name Type Default Description viewHTMLCanvasElement optional the canvas to use as a view, optional
transparentboolean false optional If the render view is transparent, default false
antialiasboolean false optional sets antialias (only applicable in chrome at the moment)
preserveDrawingBufferboolean false optional enables drawing buffer preservation, enable this if you
need to call toDataUrl on the webgl contextresolutionnumber 1 optional The resolution / device pixel ratio of the renderer, retina would be 2
noWebGLboolean false optional prevents selection of WebGL renderer, even if such is present
Returns:
Type Description PIXI.WebGLRenderer | PIXI.CanvasRenderer Returns WebGL renderer if available, otherwise CanvasRenderer