(Image):isFormatLinear

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

Gets whether the Image was created with a the linear (non-gamma corrected) flag set to true.

This method always returns false when gamma-correct rendering is not enabled.

Function

Synopsis

linear = Image:isFormatLinear( )

Arguments

None.

Returns

boolean linear
Whether the Image's internal pixel format is linear (not gamma corrected), when gamma-correct rendering is enabled.

See Also

Other Languages