API Documentation

class Allocator

package hxd.impl

@:directlyUsed

Static methods

staticget():Allocator

staticset(a:Allocator):Void

Constructor

new()

Methods

allocBuffer(vertices:Int, stride:Int, flags:BufferFlags):Buffer

allocFloats(count:Int):FloatBuffer

allocIndexBuffer(count:Int):Indexes

allocIndexes(count:Int):IndexBuffer

disposeBuffer(b:Buffer):Void

disposeFloats(f:FloatBuffer):Void

disposeIndexBuffer(i:Indexes):Void

disposeIndexes(i:IndexBuffer):Void

ofFloats(v:FloatBuffer, stride:Int, flags:BufferFlags):Buffer

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

ofSubFloats(v:FloatBuffer, stride:Int, vertices:Int, flags:BufferFlags):Buffer

onContextLost():Void

This documentation is generated for version 0.2.0

© 2022