Methods

begin (?additionalRenderTargets:Array<Canvas>):Void

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

drawIndexedVertices (start:Int = 0, count:Int = -1):Void

drawIndexedVerticesInstanced (instanceCount:Int, start:Int = 0, count:Int = -1):Void

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

setBool (location:ConstantLocation, value:Bool):Void

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

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

setInt (location:ConstantLocation, value:Int):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