Static variables

@:value(true)staticALLOW_WEBGL2:Bool = true

@:value(false)staticoutOfMemoryCheck:Bool = false

Perform OUT_OF_MEMORY checks when allocating textures/buffers. Default true, except in WebGL (false)

Constructor

@:has_untyped@:value({ antiAlias : 0 })new(antiAlias:Int = 0)

Variables

gl:GL

Methods

Inherited Variables

Defined by Driver

Inherited Methods

Defined by Driver

@:value({ z : 1, y : 1, x : 1 })computeDispatch(x:Int = 1, y:Int = 1, z:Int = 1):Void

copyTexture(from:Texture, to:Texture):Bool

Returns true if we could copy the texture, false otherwise (not supported by driver or mismatch in size/format)

dispose():Void

endQuery(q:Query):Void

inlinelog(str:String):Void

readBufferBytes(b:Buffer, startVertex:Int, vertexCount:Int, buf:Bytes, bufPos:Int):Void