14 #include "../detail/setup.hpp" 
   19 #include "../detail/qualifier.hpp" 
   20 #include "../detail/type_int.hpp" 
   21 #include "../detail/_vectorize.hpp" 
   24 #if GLM_MESSAGES == GLM_MESSAGES_ENABLED && !defined(GLM_EXT_INCLUDED) 
   25 #       pragma message("GLM: GLM_GTC_bitfield extension included") 
   36         template<
typename genIUType>
 
   37         GLM_FUNC_DECL genIUType 
mask(genIUType Bits);
 
   42         template<
typename T, qualifier P, 
template<
typename, qualifier> 
class vecIUType>
 
   43         GLM_FUNC_DECL vecIUType<T, P> 
mask(vecIUType<T, P> 
const & v);
 
   48         template<
typename genIUType>
 
   54         template<length_t L, 
typename T, qualifier P>
 
   60         template<
typename genIUType>
 
   66         template<length_t L, 
typename T, qualifier P>
 
   72         template<
typename genIUType>
 
   73         GLM_FUNC_DECL genIUType 
bitfieldFillOne(genIUType Value, 
int FirstBit, 
int BitCount);
 
   78         template<length_t L, 
typename T, qualifier P>
 
   79         GLM_FUNC_DECL vec<L, T, P> 
bitfieldFillOne(vec<L, T, P> 
const & Value, 
int FirstBit, 
int BitCount);
 
   84         template<
typename genIUType>
 
   85         GLM_FUNC_DECL genIUType 
bitfieldFillZero(genIUType Value, 
int FirstBit, 
int BitCount);
 
   90         template<length_t L, 
typename T, qualifier P>
 
   91         GLM_FUNC_DECL vec<L, T, P> 
bitfieldFillZero(vec<L, T, P> 
const & Value, 
int FirstBit, 
int BitCount);
 
  208 #include "bitfield.inl" 
GLM_FUNC_DECL uint64 bitfieldInterleave(uint16 x, uint16 y, uint16 z, uint16 w)
Interleaves the bits of x, y, z and w. 
GLM_FUNC_DECL vec< L, T, P > bitfieldRotateRight(vec< L, T, P > const &In, int Shift)
Rotate all bits to the right. 
GLM_FUNC_DECL vecIUType< T, P > mask(vecIUType< T, P > const &v)
Build a mask of 'count' bits. 
GLM_FUNC_DECL vec< L, T, P > bitfieldRotateLeft(vec< L, T, P > const &In, int Shift)
Rotate all bits to the left. 
GLM_FUNC_DECL vec< L, T, P > bitfieldFillZero(vec< L, T, P > const &Value, int FirstBit, int BitCount)
Set to 0 a range of bits. 
GLM_FUNC_DECL vec< L, T, P > bitfieldFillOne(vec< L, T, P > const &Value, int FirstBit, int BitCount)
Set to 1 a range of bits.