CopySurface.isValid

bool isValid() const nothrow @nogc

Checks if the copy surface handle is valid.

Returns

true if the handle is valid (non-null)