30 #ifndef PXFOUNDATION_PXBITANDDATA_H 31 #define PXFOUNDATION_PXBITANDDATA_H 43 template <
typename storageType, storageType bitMask>
55 mData = bit ? storageType(data | bitMask) : data;
60 return storageType(mData & ~bitMask);
72 return storageType(mData & bitMask);
87 #endif // PXFOUNDATION_PXBITANDDATA_H Definition: GuContactBuffer.h:37
PxBitAndDataT< unsigned int, 0x80000000 > PxBitAndDword
Definition: PxBitAndData.h:80
PX_CUDA_CALLABLE PX_FORCE_INLINE void clearBit()
Definition: PxBitAndData.h:66
#define PX_FORCE_INLINE
Definition: PxPreprocessor.h:364
PX_CUDA_CALLABLE PX_FORCE_INLINE void setBit()
Definition: PxBitAndData.h:62
PxBitAndDataT< unsigned char, 0x80 > PxBitAndByte
Definition: PxBitAndData.h:78
PX_FORCE_INLINE PxBitAndDataT(storageType data, bool bit=false)
Definition: PxBitAndData.h:53
PX_CUDA_CALLABLE PX_FORCE_INLINE storageType isBitSet() const
Definition: PxBitAndData.h:70
PX_FORCE_INLINE PxBitAndDataT()
Definition: PxBitAndData.h:50
Definition: PxBitAndData.h:44
PxBitAndDataT< unsigned short, 0x8000 > PxBitAndWord
Definition: PxBitAndData.h:79
PX_FORCE_INLINE PxBitAndDataT(const PxEMPTY)
Definition: PxBitAndData.h:47
PxEMPTY
Definition: Px.h:70
storageType mData
Definition: PxBitAndData.h:76
#define PX_CUDA_CALLABLE
Definition: PxPreprocessor.h:473