glamour ~master (2016-10-05T19:20:26Z)
Home
Dub
Repo
type2glenum
glamour
util
D type to OpenGL enum
template
type2glenum (
T
) {
static if
(
is(T == byte)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(
is(T == ubyte)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(!(
is(T == ubyte)
))
static if
(
is(T == short)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == short)
))
static if
(
is(T == ushort)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == short)
))
static if
(!(
is(T == ushort)
))
static if
(
is(T == int)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == short)
))
static if
(!(
is(T == ushort)
))
static if
(!(
is(T == int)
))
static if
(
is(T == uint)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == short)
))
static if
(!(
is(T == ushort)
))
static if
(!(
is(T == int)
))
static if
(!(
is(T == uint)
))
static if
(
is(T == float)
)
GLenum
type2glenum
;
static if
(!(
is(T == byte)
))
static if
(!(
is(T == ubyte)
))
static if
(!(
is(T == short)
))
static if
(!(
is(T == ushort)
))
static if
(!(
is(T == int)
))
static if
(!(
is(T == uint)
))
static if
(!(
is(T == float)
))
static if
(
is(T == double)
)
GLenum
type2glenum
;
}
Members
Variables
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
type2glenum
GLenum
type2glenum
;
Undocumented in source.
Meta
Source
See Implementation
glamour
util
functions
gl_error_string
glenum2size
set_error_callback
templates
checkgl
glenum2sizect
glenum2type
type2glenum
D type to OpenGL enum