Load a texture from a URL and register it with an ID for later use.
Unique string ID to reference this texture
URL of the image file to load
await sg.loadTexture('hero', 'assets/hero.png'); Copy
await sg.loadTexture('hero', 'assets/hero.png');
Load a texture from a URL and register it with an ID for later use.