GL_type

Get the GL_CONSTANT representing the type T.

This is an alias of one of GL_FLOAT, GL_DOUBLE, GL_UNSIGNED_INT, GL_INT, GL_UNSIGNED_SHORT, GL_SHORT, GL_UNSIGNED_BYTE, and GL_BYTE.

Members

Aliases

GL_type
alias GL_type = GL_FLOAT
Undocumented in source.
GL_type
alias GL_type = GL_DOUBLE
Undocumented in source.
GL_type
alias GL_type = GL_UNSIGNED_BYTE
Undocumented in source.
GL_type
alias GL_type = GL_BYTE
Undocumented in source.
GL_type
alias GL_type = GL_UNSIGNED_SHORT
Undocumented in source.
GL_type
alias GL_type = GL_SHORT
Undocumented in source.
GL_type
alias GL_type = GL_UNSIGNED_INT
Undocumented in source.
GL_type
alias GL_type = GL_INT
Undocumented in source.

Examples

assert(GL_type!float == GL_FLOAT);

Meta