Click or drag to resize

VisualServerTextureCreateFromImage Method

Creates a texture, allocates the space for an image, and fills in the image.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static RID TextureCreateFromImage(
	Image image,
	uint flags = 7
)

Parameters

image
Type: GodotImage

[Missing <param name="image"/> documentation for "M:Godot.VisualServer.TextureCreateFromImage(Godot.Image,System.UInt32)"]

flags (Optional)
Type: SystemUInt32

[Missing <param name="flags"/> documentation for "M:Godot.VisualServer.TextureCreateFromImage(Godot.Image,System.UInt32)"]

Return Value

Type: RID

[Missing <returns> documentation for "M:Godot.VisualServer.TextureCreateFromImage(Godot.Image,System.UInt32)"]

See Also