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

Available since LÖVE 0.9.2
This variant is not supported in earlier versions.

Synopsis

format = Canvas:getFormat( )

Arguments

None.

Returns

CanvasFormat format
The format of the Canvas.

Function

Removed in LÖVE 0.9.2
This variant is not supported in that and later versions.

Synopsis

format = Canvas:getFormat( )

Arguments

None.

Returns

TextureFormat format
The format of the Canvas.

See Also

Other Languages

Personal tools