Function VisualServerSingleton.textureGetData

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.

godot.d.reference.Ref!(godot.image.Image) textureGetData (
  const(RID) texture,
  const(long) cube_side = 0L
) nothrow @nogc const;