![]() |
Plasma Engine
2.0
|
Classes | |
struct | Category |
struct | Flags |
Static Public Member Functions | |
static PL_CORE_DLL Category | RegisterCategory (plStringView sCategoryName, const plBitflags< Flags > &flags) |
Registers a spatial data category under the given name. | |
static PL_CORE_DLL Category | FindCategory (plStringView sCategoryName) |
Returns either an existing category with the given name or plInvalidSpatialDataCategory. | |
static PL_CORE_DLL const plHashedString & | GetCategoryName (Category category) |
Returns the name of the given category. | |
static PL_CORE_DLL const plBitflags< Flags > & | GetCategoryFlags (Category category) |
Returns the flags for the given category. | |
|
static |
Registers a spatial data category under the given name.
If the same category was already registered before, it returns that instead. Asserts that there are no more than 32 unique categories.