* Register a custom asset loader * @param type - Unique identifier for this loader type (e.g., 'audio', 'image', 'video') * @param config - Loader configuration with loader function and cache accessors
(type: string, config: LoaderConfig<T>)
| 147 | * @param config - Loader configuration with loader function and cache accessors |
| 148 | */ |
| 149 | static registerLoader<T>(type: string, config: LoaderConfig<T>): void { |
| 150 | this._loaders.set(type, config as LoaderConfig); |
| 151 | } |
| 152 | |
| 153 | /** |
| 154 | * Register a category to use a specific loader type |