#include <OgreBitwise.h>
Static Public Methods | |
template<typename T> FORCEINLINE unsigned int | getBitShift (T mask) |
Returns the number of bits a pattern must be shifted right by to remove right-hand zeroes. | |
template<typename SrcT, typename DestT> DestT | convertBitPattern (SrcT srcValue, SrcT srcBitMask, DestT destBitMask) |
Takes a value with a given src bit mask, and produces another value with a desired bit mask. |
Definition at line 34 of file OgreBitwise.h.
|
Takes a value with a given src bit mask, and produces another value with a desired bit mask.
Definition at line 59 of file OgreBitwise.h. References getBitShift(). |
|
Returns the number of bits a pattern must be shifted right by to remove right-hand zeroes.
Definition at line 40 of file OgreBitwise.h. References FORCEINLINE. Referenced by convertBitPattern(). |
Copyright © 2002-2003 by The OGRE Team
Last modified Fri May 14 23:25:53 2004