three-d ~master (2015-01-13T18:29:31Z)
Dub
Repo
sizeofGlType
three
gl
util
template
sizeofGlType (
GLenum
t
) {
static if
(
t == GL_BYTE
)
enum
sizeofGlType
;
static if
(!(
t == GL_BYTE
))
static if
(
t == GL_UNSIGNED_BYTE
)
enum
sizeofGlType
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(
t == GL_SHORT
)
enum
sizeofGlType
;
static if
(!(
t == GL_BYTE
))
static if
(!(
t == GL_UNSIGNED_BYTE
))
static if
(!(
t == GL_SHORT
))
static if
(
t == GL_UNSIGNED_SHORT
)
enum
sizeofGlType
;
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
sizeofGlType
;
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
sizeofGlType
;
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
sizeofGlType
;
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
sizeofGlType
;
}
Members
Manifest constants
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
sizeofGlType
enum
sizeofGlType
;
Undocumented in source.
Meta
Source
See Implementation
three
gl
util
functions
glCheck
glErrorString
templates
sizeofGlType
toGlType