glamour ~master (2016-10-05T19:20:26Z)
Home
Dub
Repo
glenum2sizect
glamour
util
OpenGL enum to D type size
template
glenum2sizect
(GLenum t)
template
glenum2sizect (
GLenum
t
) {
static if
(
t == GL_BYTE
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(
t == GL_UNSIGNED_BYTE
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(
t == GL_SHORT
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(!(
t == GL_SHORT
))
static if
(
t == GL_UNSIGNED_SHORT
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(!(
t == GL_SHORT
))
static if
(!(
t == GL_UNSIGNED_SHORT
))
static if
(
t == GL_INT
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(!(
t == GL_SHORT
))
static if
(!(
t == GL_UNSIGNED_SHORT
))
static if
(!(
t == GL_INT
))
static if
(
t == GL_UNSIGNED_INT
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(!(
t == GL_SHORT
))
static if
(!(
t == GL_UNSIGNED_SHORT
))
static if
(!(
t == GL_INT
))
static if
(!(
t == GL_UNSIGNED_INT
))
static if
(
t == GL_FLOAT
)
enum
glenum2sizect
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(!(
t == GL_SHORT
))
static if
(!(
t == GL_UNSIGNED_SHORT
))
static if
(!(
t == GL_INT
))
static if
(!(
t == GL_UNSIGNED_INT
))
static if
(!(
t == GL_FLOAT
))
static if
(
t == GL_DOUBLE
)
enum
glenum2sizect
;
}
int
glenum2size
(GLenum t)
Members
Manifest constants
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
glenum2sizect
enum
glenum2sizect
;
Undocumented in source.
Meta
Source
See Implementation
glamour
util
functions
gl_error_string
glenum2size
set_error_callback
templates
checkgl
glenum2sizect
glenum2type
type2glenum
OpenGL enum to D type size