Skip to main content

preload

Function preload 

Source
pub fn preload(id: ContentId)
Expand description

Lädt ein Asset vor (z. B. Textur oder Schrift) und hält es im Speicher, bis das Script entladen wird.

Preloads an asset (e.g. texture or font) and keeps it in memory until the script is unloaded.