ofDocsdocumentation glm gtxcolor_space_YCoCg (functions)

gtxcolor_space_YCoCg (functions)


glm::YCoCg2rgb( ... )

glm::vec3 glm::YCoCg2rgb(const glm::vec3 &YCoCgColor=P)

Convert a color from YCoCg color space to RGB color space.

See also: gtx_color_space_YCoCg


glm::YCoCgR2rgb( ... )

glm::vec3 glm::YCoCgR2rgb(const glm::vec3 &YCoCgColor=P)

Convert a color from YCoCgR color space to RGB color space.

See also: "YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range"

See also: gtx_color_space_YCoCg


glm::rgb2YCoCg( ... )

glm::vec3 glm::rgb2YCoCg(const glm::vec3 &rgbColor=P)

Convert a color from RGB color space to YCoCg color space.

See also: gtx_color_space_YCoCg


glm::rgb2YCoCgR( ... )

glm::vec3 glm::rgb2YCoCgR(const glm::vec3 &rgbColor=P)

Convert a color from RGB color space to YCoCgR color space.

See also: "YCoCg-R: A Color Space with RGB Reversibility and Low Dynamic Range"

See also: gtx_color_space_YCoCg