Methods

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

beginEye(eye:Int):Void

beginFace(face:Int):Void

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

compute(x:Int, y:Int, z: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

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

setCubeMapCompareMode(texunit:TextureUnit, enabled:Bool):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

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

setInts(location:ConstantLocation, ints:Int32Array):Void

setMatrix(location:ConstantLocation, value:FastMatrix4):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

setTextureCompareMode(texunit:TextureUnit, enabled:Bool):Void

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

setTextureParameters(texunit:TextureUnit, uAddressing:TextureAddressing, vAddressing:TextureAddressing, minificationFilter:TextureFilter, magnificationFilter:TextureFilter, mipmapFilter:MipMapFilter):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