Description: Retrieves an image that was previously loaded into the AssetManager using its assigned name. This allows images to be loaded once and reused throughout the application without reloading them from disk, improving performance and simplifying asset management.
from VertexEngine.assets import AssetManager
player_image = AssetManager.get_image("player")
name (str):
The unique name assigned to the image when it was loaded. This
identifier is used to retrieve the image from the asset cache.
Image object — The image associated with the given name. This object can be drawn to a surface, transformed, or reused by multiple systems.