gl_wrap

Run opengl function fnc_ and check for OpenGL errors

template gl_wrap(alias fnc_)
@trusted nothrow
gl_wrap
(
Args...
)
(
Args args
)

Members

Aliases

ErrorType
alias ErrorType = InternalError
Undocumented in source.
ResultT
alias ResultT = Result!(ErrorType, T)
Undocumented in source.
T
alias T = ReturnType!fnc
Undocumented in source.
fnc
alias fnc = fnc_!Args
Undocumented in source.
fnc
alias fnc = fnc_
Undocumented in source.

Functions

gl_wrap
ResultT gl_wrap(Args args)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fnc_name
enum string fnc_name;
Undocumented in source.

Return Value

Result!(GLInternalError, T) where T is the return type of fnc_

Meta