Image.load

Loads an image from file path. See url=https://docs.godotengine.org/en/3.3/getting_started/workflow/assets/importing_images.html#supported-image-formatsSupported image formats/url for a list of supported image formats and limitations. Warning: This method should only be used in the editor or in cases when you need to load external images at run-time, such as images located at the user:// directory, and may not work in exported projects. See also ImageTexture description for usage examples.

struct Image
@nogc nothrow
GodotError
load
(
in String path
)

Meta