VisualServerTextureSetData Method |
Sets the texture's image data. If it's a CubeMap, it sets the image data at a cube side.
Namespace: Godot
public static void TextureSetData( RID texture, Image image, int layer = 0 )
[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.TextureSetData(Godot.RID,Godot.Image,System.Int32)"]
[Missing <param name="image"/> documentation for "M:Godot.VisualServer.TextureSetData(Godot.RID,Godot.Image,System.Int32)"]
[Missing <param name="layer"/> documentation for "M:Godot.VisualServer.TextureSetData(Godot.RID,Godot.Image,System.Int32)"]