Examples
// ES6 import
import * as brend from 'pixi-batch-renderer';
const { BatchRendererPluginFactory } = brend;
// CommonJS require
const brend = require('pixi-batch-renderer');
const BatchRendererPluginFactory = brend.BatchRendererPluginFactory;
Classes
- AggregateUniformsBatch
- AttributeRedirect
- BatchDrawer
- BatchGeometryFactory
- BatchRenderer
- BatchRendererPluginFactory
- BatchShaderFactory
- Redirect
- StdBatch
- StdBatchFactory
- UniformRedirect
Methods
-
Name Type Description batchRenderer
PIXI.brend.BatchRenderer Returns:
Type Description string value of the macro for this renderer -
Used by
PIXI.brend.BatchGeometryFactory
to merge the geometry of a display-object into the whole batch's geometry.Name Type Description displayObject
PIXI.DisplayObject factory
PIXI.brend.BatchGeometryFactory
Interface Definitions
-
This interface defines the methods you need to implement to creating your own batch geometry factory.
The constructor of an implementation should take only one argument - the batch renderer.