Constructor

new()

Variables

read onlycommandCount:Int

@:value(0)read onlytriCount:Int = 0

Methods

dispose():Void

setBuffer(commandCount:Int, bytes:Bytes):Void

Bytes are structures of 5 i32 with the following values: - indexCount : number of indexes per instance - instanceCount : number of indexed draws - startIndexLocation : offset in indexes - baseVertexLocation : offset in buffer - startInstanceLocation : offset in per instance buffer

@:value({ startIndex : 0 })setCommand(commandCount:Int, indexCount:Int, startIndex:Int = 0):Void