ImageTextureCreateFromImage Method |
Initializes the texture by allocating and setting the data from an Image with flags from TextureFlagsEnum. An sRGB to linear color space conversion can take place, according to ImageFormat.
Namespace: Godot
public void CreateFromImage( Image image, uint flags = 7 )
[Missing <param name="image"/> documentation for "M:Godot.ImageTexture.CreateFromImage(Godot.Image,System.UInt32)"]
[Missing <param name="flags"/> documentation for "M:Godot.ImageTexture.CreateFromImage(Godot.Image,System.UInt32)"]