Difference between revisions of "(Image):isFormatLinear"
(Created page) |
m |
||
Line 1: | Line 1: | ||
{{newin|[[11.0]]|110|type=function}} | {{newin|[[11.0]]|110|type=function}} | ||
− | Gets whether the Image was [[love.graphics.newImage|created]] with | + | Gets whether the Image was [[love.graphics.newImage|created]] with the linear (non-gamma corrected) flag set to true. |
This method always returns false when [[love.graphics.isGammaCorrect|gamma-correct rendering]] is not enabled. | This method always returns false when [[love.graphics.isGammaCorrect|gamma-correct rendering]] is not enabled. |
Latest revision as of 03:16, 27 January 2021
Available since LÖVE 11.0 |
This function is not supported in earlier versions. |
Gets whether the Image was created with 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
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