User Tools

Site Tools


hpl3:community:scripting:classes:ccolor

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
hpl3:community:scripting:classes:ccolor [2015/11/06 02:15]
abion47 [Functions]
hpl3:community:scripting:classes:ccolor [2015/11/06 02:34]
abion47 [Functions]
Line 13: Line 13:
 ^ Return Type ^ Function Name ^ Parameters ^ Description ^ ^ Return Type ^ Function Name ^ Parameters ^ Description ^
 | [[cColor]] | ToLinearSpace | const float afPower, \\ const bool abCorrectAlpha,​ \\ const | Returns the color converted into the linear space. | | [[cColor]] | ToLinearSpace | const float afPower, \\ const bool abCorrectAlpha,​ \\ const | Returns the color converted into the linear space. |
-| [[cColor]] | ToSRGB | const bool abCorrectAlpha,​ \\ const | Returns the color converted into the [[https://​en.wikipedia.org/​wiki/​SRGB|sRGB]] space. |+| [[cColor]] | ToSRGB | const bool abCorrectAlpha,​ \\ const | Returns the color converted into the [[wp>sRGB|sRGB]] space. |
  
 ====Remarks==== ====Remarks====
  
-Have some helpful descriptions to add to this class? Edit this page and add your insight to the Wiki! +Read [[http://​stackoverflow.com/​questions/​12524623/​what-are-the-practical-differences-when-working-with-colors-in-a-linear-vs-a-no|this post on StackOverflow]] for an explanation on the differences between the linear color space and the sRGB color space.
hpl3/community/scripting/classes/ccolor.txt · Last modified: 2020/08/03 18:53 by abion47