Sha256: 25f9711515756e8c0199b490851a5f6d032bedc274cef047068ca15a15be9d6e

Contents?: true

Size: 1.4 KB

Versions: 21

Compression:

Stored size: 1.4 KB

Contents

/// @ref gtc_color_encoding
/// @file glm/gtc/color_encoding.hpp
///
/// @see core (dependence)
/// @see gtc_color_encoding (dependence)
///
/// @defgroup gtc_color_encoding GLM_GTC_color_encoding
/// @ingroup gtc
///
/// @brief Allow to perform bit operations on integer values
///
/// <glm/gtc/color_encoding.hpp> need to be included to use these functionalities.

#pragma once

// Dependencies
#include "../detail/setup.hpp"
#include "../detail/precision.hpp"
#include "../vec3.hpp"
#include <limits>

#if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED)
#	pragma message("GLM: GLM_GTC_color_encoding extension included")
#endif

namespace glm
{
	/// @addtogroup gtc_color_encoding
	/// @{

	/// Convert a linear sRGB color to D65 YUV.
	template <typename T, precision P>
	GLM_FUNC_DECL tvec3<T, P> convertLinearSRGBToD65XYZ(tvec3<T, P> const& ColorLinearSRGB);

	/// Convert a D65 YUV color to linear sRGB.
	template <typename T, precision P>
	GLM_FUNC_DECL tvec3<T, P> convertD65XYZToLinearSRGB(tvec3<T, P> const& ColorD65XYZ);

	/// Convert a D50 YUV color to D65 YUV.
	template <typename T, precision P>
	GLM_FUNC_DECL tvec3<T, P> convertD50XYZToD65XYZ(tvec3<T, P> const& ColorD50XYZ);

	/// Convert a D65 YUV color to D50 YUV.
	template <typename T, precision P>
	GLM_FUNC_DECL tvec3<T, P> convertD65XYZToD50XYZ(tvec3<T, P> const& ColorD65XYZ);

	/// @}
} //namespace glm

#include "color_encoding.inl"

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
pixo-0.4.5 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.4.4 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.4.3 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.4.2 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.4.1 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.4.0 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.3.2 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.3.1 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.3.0 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.6 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.5 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.4 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.3 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.2 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.1 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.2.0 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.1.4 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.1.3 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.1.2 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp
pixo-0.1.1 ext/pixo/ext/glm/glm/gtc/color_encoding.hpp