Function Surface.pitch

Gets the pitch of the dsdl2.Surface in bytes (multiple of bytes for each line/row)

ulong pitch() @property @trusted const;

Returns

pitch of the dsdl2.Surface in bytes