isValid

fnbool isValid(FltkGlWindow window) @safe nothrow @nogc

Checks if a GL window handle is valid (non-null).

Parameters

windowGL window handle to check

Returns

true if handle is valid
fnbool isValid(FltkGlContext context) @safe nothrow @nogc

Checks if a GL context handle is valid (non-null).

Parameters

contextGL context handle to check

Returns

true if handle is valid