Flow Visualisation
func_packing.hpp
Go to the documentation of this file.
1 
36 #ifndef GLM_CORE_func_packing
37 #define GLM_CORE_func_packing GLM_VERSION
38 
39 namespace glm
40 {
43 
55  GLM_FUNC_DECL detail::uint32 packUnorm2x16(detail::tvec2<detail::float32> const & v);
56 
68  GLM_FUNC_DECL detail::uint32 packSnorm2x16(detail::tvec2<detail::float32> const & v);
69 
81  GLM_FUNC_DECL detail::uint32 packUnorm4x8(detail::tvec4<detail::float32> const & v);
82 
94  GLM_FUNC_DECL detail::uint32 packSnorm4x8(detail::tvec4<detail::float32> const & v);
95 
107  GLM_FUNC_DECL detail::tvec2<detail::float32> unpackUnorm2x16(detail::uint32 const & p);
108 
120  GLM_FUNC_DECL detail::tvec2<detail::float32> unpackSnorm2x16(detail::uint32 const & p);
121 
133  GLM_FUNC_DECL detail::tvec4<detail::float32> unpackUnorm4x8(detail::uint32 const & p);
134 
146  GLM_FUNC_DECL detail::tvec4<detail::float32> unpackSnorm4x8(detail::uint32 const & p);
147 
156  GLM_FUNC_DECL double packDouble2x32(detail::tvec2<detail::uint32> const & v);
157 
165  GLM_FUNC_DECL detail::tvec2<detail::uint32> unpackDouble2x32(double const & v);
166 
175  GLM_FUNC_DECL uint packHalf2x16(vec2 const & v);
176 
186 
188 }//namespace glm
189 
190 #include "func_packing.inl"
191 
192 #endif//GLM_CORE_func_packing
193 
uint_t uint
Definition: type_int.hpp:131
GLM_FUNC_DECL detail::uint32 packUnorm4x8(detail::tvec4< detail::float32 > const &v)
Definition: func_packing.inl:79
Definition: _detail.hpp:38
unsigned int uint32
Definition: _detail.hpp:346
mediump_vec2 vec2
Definition: type.hpp:104
GLM_FUNC_DECL detail::tvec4< detail::float32 > unpackUnorm4x8(detail::uint32 const &p)
Definition: func_packing.inl:88
GLM_FUNC_DECL detail::uint32 packUnorm2x16(detail::tvec2< detail::float32 > const &v)
Definition: func_packing.inl:31
GLM_FUNC_DECL uint packHalf2x16(vec2 const &v)
GLM_FUNC_DECL detail::tvec2< detail::float32 > unpackUnorm2x16(detail::uint32 const &p)
Definition: func_packing.inl:38
GLM_FUNC_DECL detail::tvec2< detail::uint32 > unpackDouble2x32(double const &v)
Definition: func_packing.inl:158
GLM_FUNC_DECL detail::tvec4< detail::float32 > unpackSnorm4x8(detail::uint32 const &p)
Definition: func_packing.inl:119
GLM_FUNC_DECL detail::uint32 packSnorm4x8(detail::tvec4< detail::float32 > const &v)
Definition: func_packing.inl:102
GLM_FUNC_DECL detail::uint32 packSnorm2x16(detail::tvec2< detail::float32 > const &v)
Definition: func_packing.inl:48
GLM_FUNC_DECL double packDouble2x32(detail::tvec2< detail::uint32 > const &v)
Definition: func_packing.inl:137
GLM_FUNC_DECL detail::tvec2< detail::float32 > unpackSnorm2x16(detail::uint32 const &p)
Definition: func_packing.inl:63
#define GLM_FUNC_DECL
Definition: setup.hpp:678
GLM_FUNC_DECL vec2 unpackHalf2x16(uint const &v)
Definition: func_packing.inl:193