LeviLamina
Loading...
Searching...
No Matches
VoxelShapes::VoxelShapeRegistry Class Reference

Public Member Functions

MCAPI::VoxelShapes::RegistryHandle _insertOrFindDuplicate (::VoxelShapes::VoxelShape &&shape, bool isVanillaShape)
MCAPI::VoxelShapes::RegistryHandle getHandleByName (::HashedString const &name) const
MCAPI bool hasName (::HashedString const &name) const
MCAPI void initialize ()

Static Public Member Functions

static MCAPI bool _computeIsCubeShapeEquivalent (::VoxelShapes::VoxelShape const &shape)
static MCAPI ::HashedString const & EMPTY_ID ()
static MCAPI ::HashedString const & UNIT_CUBE_ID ()

Public Attributes

::ll::TypedStorage< 1, 1, bool > mInitialized
::ll::TypedStorage< 2, 2, ::VoxelShapes::RegistryHandlemEmptyShapeHandle
::ll::TypedStorage< 2, 2, ::VoxelShapes::RegistryHandlemUnitCubeShapeHandle
::ll::TypedStorage< 8, 8, uint64 > mVanillaShapes
::ll::TypedStorage< 8, 8, uint64 > mCustomShapes
::ll::TypedStorage< 8, 24, ::std::vector<::VoxelShapes::VoxelShape > > mVoxelShapes
::ll::TypedStorage< 8, 64, ::std::unordered_map<::HashedString, ::VoxelShapes::RegistryHandle > > mNameMap

The documentation for this class was generated from the following file: