24class EXPCL_PANDAPHYSX PhysxMask {
32 bool get_bit(
unsigned int idx)
const;
34 void output(std::ostream &out)
const;
40 INLINE NxU32 get_mask()
const;
46INLINE std::ostream &operator << (std::ostream &out,
const PhysxMask &mask) {
static PhysxMask all_on()
Returns a PhysxMask whose bits are all on.
static PhysxMask all_off()
Returns a PhysxMask whose bits are all off.
void set_bit(unsigned int idx)
Sets the nth bit on.
void output(std::ostream &out) const
Writes the PhysxMask out as a list of ones and zeros.
bool get_bit(unsigned int idx) const
Returns true if the nth bit is set, false if it is cleared.
void clear_bit(unsigned int idx)
Sets the nth bit off.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.