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:GL2

Methods

Inherited Variables

Defined by Driver

Inherited Methods

Defined by Driver

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

readIndexBytes(v:IndexBuffer, startVertex:Int, vertexCount:Int, buf:Bytes, bufPos:Int):Void

readVertexBytes(v:VertexBuffer, startVertex:Int, vertexCount:Int, buf:Bytes, bufPos:Int):Void