checkgl

checkgl checks in a debug build after every opengl call glGetError and calls an error-callback which can be set with set_error_callback a default is provided.

  1. ReturnType!func checkgl(Args args)
    template checkgl(alias func)
    debug
    ReturnType!func
    checkgl
    (
    Args...
    )
    (
    Args args
    )
  2. alias checkgl = func

Members

Aliases

checkgl
alias checkgl = func
Undocumented in source.

Functions

checkgl
ReturnType!func checkgl(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Examples

checkgl!glDrawArrays(GL_POINTS, 0, 10);

Meta