- type->gl TYPEprocedure
Converts the keyword TYPE into a OpenGL type enum value. Accepted types (grouped by synonyms) are:
- char: int8: byte:
- uchar: uint8: unsigned-byte:
- short: int16:
- ushort: uint16: unsigned-short:
- int: int32: integer: integer32:
- uint: uint32: unsigned-int: unsigned-int32: unsigned-integer: unsigned-integer32:
- float: float32:
- double: float64:
Double is not, however, a valid type when using GL ES.