Methods

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

beginEye (eye:Int):Void

beginFace (face:Int):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

end ():Void

flush ():Void

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

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

setCubeMap (unit:TextureUnit, cubeMap:CubeMap):Void

setCubeMapDepth (unit:TextureUnit, cubeMap:CubeMap):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:Float32Array):Void

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

setIndexBuffer (indexBuffer:IndexBuffer):Void

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

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

setMatrix3 (location:ConstantLocation, value:FastMatrix3):Void

setPipeline (pipeline:PipelineState):Void

setStencilReferenceValue (value:Int):Void

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

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

setTextureArray (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