Static methods
Constructor
Methods
Inherited Variables
Defined by Primitive
@:value(0)read onlyrefCount:Int = 0
Current amount of references to this Primitive.
Use incref and decref methods to affect this value. If it reaches 0, it will be automatically disposed.
Inherited Methods
Defined by Primitive
decref():Void
Decrease reference count of the Primitive. If recount reaches zero, Primitive is automatically disposed when last referencing mesh is removed from scene.
@:value({ lod : 0 })getMaterialIndexes(material:Int, lod:Int = 0):{start:Int, count:Int}
Returns the number and offset of indexes for the specified material
selectMaterial(material:Int, lod:Int):Void
Select the specified sub material before drawin. Used for internal usage.
