Beta
Throws a PublicError of type PublicErrorType.InvalidState if registration has been closed, or if this package has not been initialized (see init).
Throws a PublicError of type PublicErrorType.InvalidArgument if the definition ID or category is invalid, or if the texture's segments is not a positive integer.
Registers a storage type. This function should be called in the
worldLoadafter event.