Function Surface.toHash

Gets the hash of the dsdl2.Surface

override ulong toHash() nothrow @trusted const;

Returns

unique hash for the instance being the pointer of the internal SDL_Surface pointer