Skip to content

Instantly share code, notes, and snippets.

@postite
postite / BABYLON.hx
Last active August 29, 2015 13:56
babylon.js haxe exteren generated not tested
typedef WebGLProgram = { };
typedef WebGLShader = { };
typedef WebGLUniformLocation = { };
typedef WebGLRenderingContext = { };
typedef VertexBuffer = { };
typedef IndexBuffer = { };
typedef Capabilities = { public var maxTexturesImageUnits : Float; public var maxTextureSize : Float; public var maxCubemapTextureSize : Float; public var maxRenderTextureSize : Float; };
extern class Engine {
public function constructor( canvas : HTMLCanvasElement, antialias : Bool ) : Dynamic;