glenum2type.glenum2type

Undocumented in source.
  1. alias glenum2type = byte
  2. alias glenum2type = ubyte
  3. alias glenum2type = short
  4. alias glenum2type = ushort
  5. alias glenum2type = int
  6. alias glenum2type = uint
  7. alias glenum2type = float
    template glenum2type(GLenum t)
    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)
    alias glenum2type = float
  8. alias glenum2type = double

Meta