|
Utilities
[Core]
Miscellaneous utility functions. More...
Functions | |
int | countBits (int v) |
Count the number of bits that are set in the given 32 bit integer. | |
Torque::UUID | generateUUID () |
Generate a new universally unique identifier (UUID). |
Detailed Description
Miscellaneous utility functions.
Function Documentation
int countBits | ( | int | v | ) |
Count the number of bits that are set in the given 32 bit integer.
- Parameters:
-
v An integer value.
- Returns:
- The number of bits that are set in v.
Torque::UUID generateUUID | ( | ) |
Generate a new universally unique identifier (UUID).
- Returns:
- A newly generated UUID.
Copyright © GarageGames, LLC. All Rights Reserved.