Namespace: brend

brend

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

PIXI.brend.InjectorFunction (batchRenderer)string static

Name Type Description
batchRenderer PIXI.brend.BatchRenderer
Returns:
Type Description
string value of the macro for this renderer

IGeometryMerger (displayObject, factory)

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
See:

Interface Definitions

PIXI.brend.IBatchGeometryFactory

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.