Class type Geometry-PIXI._t

method instanceCount: int

Number of instances in this geometry, pass it to GeometrySystem.draw()

method refCount: int

Count of existing (not destroyed) meshes that reference this geometry

method addAttribute: Js.Internal.meth([ `Arity_7((string, Js.Undefined.t(PIXI.Buffer.t), Js.Undefined.t(int), Js.Undefined.t(bool), Js.Undefined.t(int), Js.Undefined.t(int), Js.Undefined.t(int))) ], Js.t(_t))

Adds an attribute to the geometry

method addIndex: Js.Internal.meth([ `Arity_1(Js.Undefined.t(PIXI.Buffer.t)) ], Js.t(_t))

Adds an index buffer to the geometry The index buffer contains integers, three for each triangle in the geometry, which reference the various attribute buffers (position, colour, UV coordinates, other UV coordinates, normal, …). There is only ONE index buffer.

method clone: Js.Internal.meth([ `Arity_0 ], Js.t(_t))

returns a clone of the geometry

method destroy: Js.Internal.meth([ `Arity_0 ], unit)

Destroys the geometry.

method dispose: Js.Internal.meth([ `Arity_0 ], unit)

disposes WebGL resources that are connected to this geometry

method getAttribute: Js.Internal.meth([ `Arity_1(string) ]PIXI.Attribute.t)

returns the requested attribute

method getBuffer: Js.Internal.meth([ `Arity_1(string) ]PIXI.Buffer.t)

returns the requested buffer

method getIndex: Js.Internal.meth([ `Arity_0 ]PIXI.Buffer.t)

returns the index buffer

method interleave: Js.Internal.meth([ `Arity_0 ], Js.t(_t))

this function modifies the structure so that all current attributes become interleaved into a single buffer This can be useful if your model remains static as it offers a little performance boost