XII Release 0.1.0
Loading...
Searching...
No Matches
xiiSpatialData Struct Reference

Copyright (c) Theophilus Eriata. All Rights Reserved. More...

#include <SpatialData.h>

Classes

struct  Flags
struct  Category

Static Public Member Functions

static XII_CORE_DLL Category RegisterCategory (xiiStringView sCategoryName, const xiiBitflags< Flags > &flags)
static XII_CORE_DLL Category FindCategory (xiiStringView sCategoryName)
 Returns either an existing category with the given name or xiiInvalidSpatialDataCategory.
static XII_CORE_DLL const xiiHashedString & GetCategoryName (Category category)
 Returns the name of the given category.
static XII_CORE_DLL const xiiBitflags< Flags > & GetCategoryFlags (Category category)
 Returns the flags for the given category.

Detailed Description

Copyright (c) Theophilus Eriata. All Rights Reserved.

Member Function Documentation

◆ RegisterCategory()

xiiSpatialData::Category xiiSpatialData::RegisterCategory ( xiiStringView sCategoryName,
const xiiBitflags< 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:
  • /home/runner/work/XII/XII/Source/Engine/Core/World/SpatialData.h
  • /home/runner/work/XII/XII/Source/Engine/Core/World/Implementation/SpatialData.cpp