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:12] abion47 [Fields] |
hpl3:community:scripting:classes:ccolor [2015/11/06 02:16] abion47 [Remarks] |
||
---|---|---|---|
Line 12: | Line 12: | ||
^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ^ Return Type ^ Function Name ^ Parameters ^ Description ^ | ||
- | | [[cColor]] | ToLinearSpace | const float afPower, \\ const bool abCorrectAlpha, \\ const | | | + | | [[cColor]] | ToLinearSpace | const float afPower, \\ const bool abCorrectAlpha, \\ const | Returns the color converted into the linear space. | |
- | | [[cColor]] | ToSRGB | const bool abCorrectAlpha, \\ const | | | + | | [[cColor]] | ToSRGB | const bool abCorrectAlpha, \\ const | Returns the color converted into the [[https://en.wikipedia.org/wiki/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. |