Godot:ResourceLoader
lastmod 2026-11-10created 2022-12-222 edits
ResourceLoader is a singleton in the Godot engine that loads resource files such as scenes, textures, and scripts. GDScript's load() and preload() use this class internally, and already-loaded resources are reused from a cache so the same file is not read multiple times. It also provides features such as checking whether a resource exists, querying dependencies, and requesting loading on a background thread, which are used to implement loading screens. Saving is handled by its counterpart, ResourceSaver.