Click or drag to resize

ImageTextureLoad Method

Loads an image from a file path and creates a texture from it.

Note: the method is deprecated and will be removed in Godot 4.0, use Load(String) and CreateFromImage(Image, UInt32) instead.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public Error Load(
	string path
)

Parameters

path
Type: SystemString

[Missing <param name="path"/> documentation for "M:Godot.ImageTexture.Load(System.String)"]

Return Value

Type: Error

[Missing <returns> documentation for "M:Godot.ImageTexture.Load(System.String)"]

See Also