ImageCreateFromData Method |
Creates a new image of given size and format. See ImageFormat constants. Fills the image with the given raw data. If use_mipmaps is true then loads mipmaps for this image from data. See GenerateMipmaps(Boolean).
Namespace: Godot
public void CreateFromData( int width, int height, bool useMipmaps, ImageFormat format, byte[] data )
[Missing <param name="width"/> documentation for "M:Godot.Image.CreateFromData(System.Int32,System.Int32,System.Boolean,Godot.Image.Format,System.Byte[])"]
[Missing <param name="height"/> documentation for "M:Godot.Image.CreateFromData(System.Int32,System.Int32,System.Boolean,Godot.Image.Format,System.Byte[])"]
[Missing <param name="useMipmaps"/> documentation for "M:Godot.Image.CreateFromData(System.Int32,System.Int32,System.Boolean,Godot.Image.Format,System.Byte[])"]
[Missing <param name="format"/> documentation for "M:Godot.Image.CreateFromData(System.Int32,System.Int32,System.Boolean,Godot.Image.Format,System.Byte[])"]
[Missing <param name="data"/> documentation for "M:Godot.Image.CreateFromData(System.Int32,System.Int32,System.Boolean,Godot.Image.Format,System.Byte[])"]