Canvas:getFormat

Available since LÖVE 0.9.1
This function is not supported in earlier versions.

Gets the texture format of the Canvas.

Function

Synopsis

format = Canvas:getFormat( )

Arguments

None.

Returns

CanvasFormat format
The format of the Canvas.

See Also

Other Languages