ezEngine  Release 25.03
ezSpatialData Struct Reference

Classes

struct  Category
 
struct  Flags
 

Static Public Member Functions

static EZ_CORE_DLL Category RegisterCategory (ezStringView sCategoryName, const ezBitflags< Flags > &flags)
 Registers a spatial data category under the given name. More...
 
static EZ_CORE_DLL Category FindCategory (ezStringView sCategoryName)
 Returns either an existing category with the given name or ezInvalidSpatialDataCategory.
 
static const EZ_CORE_DLL ezHashedStringGetCategoryName (Category category)
 Returns the name of the given category.
 
static const EZ_CORE_DLL ezBitflags< Flags > & GetCategoryFlags (Category category)
 Returns the flags for the given category.
 

Member Function Documentation

◆ RegisterCategory()

ezSpatialData::Category ezSpatialData::RegisterCategory ( ezStringView  sCategoryName,
const ezBitflags< Flags > &  flags 
)
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.


The documentation for this struct was generated from the following files: