Constructor

new()

Variables

@:value(-1)currentFrame:Int = -1

@:value(60 * 10)maxKeepFrame:Int = 60 * 10

How long do we keep some buffer than hasn't been used in memory (in frames)

@:value(512 * 1024 * 1024)maxMemSize:Int = 512 * 1024 * 1024

Maximum buffers memory in bytes.

Methods

checkFrame():Void

checkGC():Void

clear():Void

gc():Void

set_maxKeepFrame(v:Int):Int

Inherited Variables

Inherited Methods

Defined by Allocator

@:value({ flags : Dynamic })ofFloats(v:FloatBuffer, format:BufferFormat, flags:BufferFlags = Dynamic):Buffer

@:value({ length : -1 })ofIndexes(ib:IndexBuffer, length:Int = -1):Indexes

@:value({ flags : Dynamic })ofSubFloats(v:FloatBuffer, vertices:Int, format:BufferFormat, flags:BufferFlags = Dynamic):Buffer