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.

struct VisualServerSingleton
@nogc nothrow const
textureGetData
(
in RID texture
,
in long cube_side = 0
)

Meta