VisualServerTextureGetData Method |
Returns a copy of a texture's image unless it's a CubeMap, in which case it returns the RID of the image at one of the cubes sides.
Namespace: Godot
public static Image TextureGetData( RID texture, int cubeSide = 0 )
[Missing <param name="texture"/> documentation for "M:Godot.VisualServer.TextureGetData(Godot.RID,System.Int32)"]
[Missing <param name="cubeSide"/> documentation for "M:Godot.VisualServer.TextureGetData(Godot.RID,System.Int32)"]
[Missing <returns> documentation for "M:Godot.VisualServer.TextureGetData(Godot.RID,System.Int32)"]