Texture:isFormatLinear
Available since LÖVE 12.0 |
It has been moved from Image:isFormatLinear. |
Gets whether the Texture was created with the linear (non-gamma corrected) flag set to true or with a non-sRGB PixelFormat.
This method always returns false when gamma-correct rendering is not enabled.
Function
Synopsis
linear = Texture:isFormatLinear( )
Arguments
None.
Returns
boolean linear
- Whether the Texture's internal pixel format is linear (not gamma corrected), when gamma-correct rendering is enabled.
See Also
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info