DiffGeometryFactory
class DiffGeometryFactory extends BatchGeometryFactory
Summary
Properties from DiffGeometryFactory
Cache of the geometries drawn in the last frame. |
|
The geometries already drawn this frame. |
Methods from DiffGeometryFactory
void |
|
void |
|
void |
Release the geometry cache |
Properties inherited from BatchGeometryFactory
PIXI.Geometry |
Batch geometries that can be reused. |
Resolvable<number> |
|
IGeometryMerger |
|
Methods inherited from BatchGeometryFactory
void |
|
PIXI.Geometry |
|
void |
|
PIXI.ViewableBuffer |
Allocates an attribute buffer with sufficient capacity to hold |
Uint16Array |
Allocates an index buffer ( |
Public Properties
_geometryCache
Cache of the geometries drawn in the last frame.
_geometryPipeline
The geometries already drawn this frame.
Public Methods
release(geom: DiffGeometry) → {void}
DiffGeometryFactory
Name | Type | Description |
---|---|---|
geom | DiffGeometry |
Type | Description |
---|---|
void |
Protected Methods
protected diffCache(cache: ArrayLike<number>, data: ArrayLike<number>) → {void}
Calculates the regions different in the cached & updated versions of a buffer. The cache is expected to not be smaller than the updated data.
Name | Type | Description |
---|---|---|
cache | ArrayLike<number> | |
data | ArrayLike<number> |
Type | Description |
---|---|
void |
protected releaseCache() → {void}
Release the geometry cache
Type | Description |
---|---|
void |