toGLType

@property
toGLType
(
T
)
()

Examples

assert( toGLType!ubyte == GLType.UNSIGNED_BYTE );
assert( toGLType!byte == GLType.BYTE );
assert( toGLType!ushort == GLType.UNSIGNED_SHORT );
assert( toGLType!short == GLType.SHORT );
assert( toGLType!uint == GLType.UNSIGNED_INT );
assert( toGLType!int == GLType.INT );
assert( toGLType!float == GLType.FLOAT );

Meta