Constructor

@:value({ renderTarget : null })new(?renderTarget:Canvas)

Methods

@:value({ additionalRenderTargets : null })begin(?additionalRenderTargets:Array<Canvas>):Void

clear(?color:Color, ?depth:Float, ?stencil:Int):Void

@:value({ count : -1, start : 0 })drawIndexedVertices(start:Int = 0, count:Int = -1):Void

@:value({ count : -1, start : 0 })drawIndexedVerticesInstanced(instanceCount:Int, start:Int = 0, count:Int = -1):Void

scissor(x:Int, y:Int, width:Int, height:Int):Void

setFloat2(location:ConstantLocation, value1:Float, value2:Float):Void

setFloat3(location:ConstantLocation, value1:Float, value2:Float, value3:Float):Void

setFloat4(location:ConstantLocation, value1:Float, value2:Float, value3:Float, value4:Float):Void

setInt(location:ConstantLocation, value:Int):Void

setInt2(location:ConstantLocation, value1:Int, value2:Int):Void

setInt3(location:ConstantLocation, value1:Int, value2:Int, value3:Int):Void

setInt4(location:ConstantLocation, value1:Int, value2:Int, value3:Int, value4:Int):Void

inlinesetMatrix(location:ConstantLocation, matrix:FastMatrix4):Void

setTexture3DParameters(texunit:TextureUnit, uAddressing:TextureAddressing, vAddressing:TextureAddressing, wAddressing:TextureAddressing, minificationFilter:TextureFilter, magnificationFilter:TextureFilter, mipmapFilter:MipMapFilter):Void

setTextureParameters(texunit:TextureUnit, uAddressing:TextureAddressing, vAddressing:TextureAddressing, minificationFilter:TextureFilter, magnificationFilter:TextureFilter, mipmapFilter:MipMapFilter):Void

viewport(x:Int, y:Int, width:Int, height:Int):Void