aos::BGetBitMask

Defined in include/foundation/PxVecMathAoSScalarInline.h

inline PxU32 aos::BGetBitMask(const BoolV a)

Get BoolV as bits set in an PxU32. A bit in the output is set if the element is ‘true’ in the input. There is a bit for each element in a, with element 0s value held in bit0, element 1 in bit 1s and so forth. If nothing is true in the input it will return 0, and if all are true if will return 0xf. NOTE! That performance of the function varies considerably by platform, thus it is recommended to use where your algorithm really needs a BoolV in an integer variable.