The renderer this System works for.
Readonlycantrue if support gl.UNSIGNED_INT in gl.drawElements or gl.drawElementsInstanced.
Readonlyhastrue if has ANGLE_instanced_arrays extension.
Readonlyhastrue if we has *_vertex_array_object extension.
ReadonlymanagedCache for all geometries by id, used in case renderer gets destroyed or for profiling.
Generic destroy methods to be overridden by the subclass
Dispose all WebGL resources of all managed geometries.
OptionalcontextLost: booleanIf context was lost, we suppress gl.delete calls
Disposes geometry.
Geometry with buffers. Only VAO will be disposed
OptionalcontextLost: booleanIf context was lost, we suppress deleteVertexArray
Draws the currently bound geometry.
The type primitive to render.
Optionalsize: numberThe number of elements to be rendered. If not specified, all vertices after the starting vertex will be drawn.
Optionalstart: numberThe starting vertex in the geometry to start drawing from. If not specified, drawing will start from the first vertex.
OptionalinstanceCount: numberThe number of instances of the set of elements to execute. If not specified, all instances will be drawn.
Reset and unbind any active VAO and geometry.
Update buffers of the currently bound geometry.
System plugin to the renderer to manage geometry.
Memberof
PIXI