Methods

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

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

createCubeMap (size:Int, format:TextureFormat, usage:Usage, ?canRead:Bool):CubeMap

drawIndexedVertices (?start:Int, ?count:Int):Void

drawIndexedVerticesInstanced (instanceCount:Int, ?start:Int, ?count:Int):Void

end ():Void

flush ():Void

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

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

setFloat (location:ConstantLocation, value:FastFloat):Void

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

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

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

setFloats (location:ConstantLocation, floats:Vector<FastFloat>):Void

setIndexBuffer (indexBuffer:IndexBuffer):Void

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

setMatrix (location:ConstantLocation, value:FastMatrix4):Void

setPipeline (pipeline:PipelineState):Void

setTexture (unit:TextureUnit, texture:Image):Void

setTextureDepth (unit:TextureUnit, texture:Image):Void

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

setVector2 (location:ConstantLocation, value:FastVector2):Void

setVector3 (location:ConstantLocation, value:FastVector3):Void

setVector4 (location:ConstantLocation, value:FastVector4):Void

setVertexBuffer (vertexBuffer:VertexBuffer):Void

setVertexBuffers (vertexBuffers:Array<VertexBuffer>):Void

setVideoTexture (unit:TextureUnit, texture:Video):Void

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

vsynced ():Bool