Documentation ¶
Index ¶
Constants ¶
View Source
const UriScheme = "res://"
Variables ¶
This section is empty.
Functions ¶
func GetTypeFromID ¶
func RegisterLoader ¶
RegisterManager registers a resource manager for the specified type
Types ¶
type Config ¶
type Config struct { ID string `json:"id"` Data json.RawMessage `json:"data"` }
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func NewManager ¶
func (*Manager) CleanupResources ¶
func (m *Manager) CleanupResources()
func (*Manager) GetResource ¶
func (*Manager) SetResource ¶ added in v1.1.0
type ResourcesConfig ¶
type ResourcesConfig struct {
Resources []*Config `json:"resources"`
}
Click to show internal directories.
Click to hide internal directories.