Function Surface.toString

Formats the dsdl2.Surface into its construction representation: "dsdl2.PixelFormat([<bytes>], [<width>, <height>], <pitch>, <pixelFormat>)"

override string toString() @trusted const;

Returns

the formatted string