0.9.9 API documentation

Go to the source code of this file.
Functions  
GLM_FUNC_DECL double  packDouble2x32 (uvec2 const &v) 
Returns a doublequalifier value obtained by packing the components of v into a 64bit value. More...  
GLM_FUNC_DECL uint  packHalf2x16 (vec2 const &v) 
Returns an unsigned integer obtained by converting the components of a twocomponent floatingpoint vector to the 16bit floatingpoint representation found in the OpenGL Specification, and then packing these two 16 bit integers into a 32bit unsigned integer. More...  
GLM_FUNC_DECL uint  packSnorm2x16 (vec2 const &v) 
First, converts each component of the normalized floatingpoint value v into 8 or 16bit integer values. More...  
GLM_FUNC_DECL uint  packSnorm4x8 (vec4 const &v) 
First, converts each component of the normalized floatingpoint value v into 8 or 16bit integer values. More...  
GLM_FUNC_DECL uint  packUnorm2x16 (vec2 const &v) 
First, converts each component of the normalized floatingpoint value v into 8 or 16bit integer values. More...  
GLM_FUNC_DECL uint  packUnorm4x8 (vec4 const &v) 
First, converts each component of the normalized floatingpoint value v into 8 or 16bit integer values. More...  
GLM_FUNC_DECL uvec2  unpackDouble2x32 (double v) 
Returns a twocomponent unsigned integer vector representation of v. More...  
GLM_FUNC_DECL vec2  unpackHalf2x16 (uint v) 
Returns a twocomponent floatingpoint vector with components obtained by unpacking a 32bit unsigned integer into a pair of 16bit values, interpreting those values as 16bit floatingpoint numbers according to the OpenGL Specification, and converting them to 32bit floatingpoint values. More...  
GLM_FUNC_DECL vec2  unpackSnorm2x16 (uint p) 
First, unpacks a single 32bit unsigned integer p into a pair of 16bit unsigned integers, four 8bit unsigned integers, or four 8bit signed integers. More...  
GLM_FUNC_DECL vec4  unpackSnorm4x8 (uint p) 
First, unpacks a single 32bit unsigned integer p into a pair of 16bit unsigned integers, four 8bit unsigned integers, or four 8bit signed integers. More...  
GLM_FUNC_DECL vec2  unpackUnorm2x16 (uint p) 
First, unpacks a single 32bit unsigned integer p into a pair of 16bit unsigned integers, four 8bit unsigned integers, or four 8bit signed integers. More...  
GLM_FUNC_DECL vec4  unpackUnorm4x8 (uint p) 
First, unpacks a single 32bit unsigned integer p into a pair of 16bit unsigned integers, four 8bit unsigned integers, or four 8bit signed integers. More...  
Definition in file packing.hpp.