Static variables

@:value(20)staticELEMENT_SIZE:Int = 20

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

Constructor

new()

Variables

read onlycommandCount:Int

read onlymaxCommandCount:Int

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

Methods

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

dispose():Void

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

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