zoukankan      html  css  js  c++  java
  • OpenGL Type

    C TypeBitdepthDescriptionCommon Enum
    GLboolean 1+ A boolean value, either GL_TRUE or GL_FALSE  
    GLbyte 8 Signed, 2's complement binary integer GL_BYTE
    GLubyte 8 Unsigned binary integer GL_UNSIGNED_BYTE
    GLshort 16 Signed, 2's complement binary integer GL_SHORT
    GLushort 16 Unsigned binary integer GL_UNSIGNED_SHORT
    GLint 32 Signed, 2's complement binary integer GL_INT
    GLuint 32 Unsigned binary integer GL_UNSIGNED_INT
    GLfixed 32 Signed, 2's complement 16.16 integer GL_FIXED
    GLint64 64 Signed, 2's complement binary integer  
    GLuint64 64 Unsigned binary integer  
    GLsizei 32 A non-negative binary integer, for sizes.  
    GLenum 32 An OpenGL enumerator value  
    GLintptr ptrbits​1 Signed, 2's complement binary integer  
    GLsizeiptr ptrbits​1 Non-negative binary integer size, for memory offsets and ranges  
    GLsync ptrbits​1 Sync Object handle  
    GLbitfield 32 A bitfield value  
    GLhalf 16 An IEEE-754 floating-point value GL_HALF_FLOAT
    GLfloat 32 An IEEE-754 floating-point value GL_FLOAT
    GLclampf 32 An IEEE-754 floating-point value, clamped to the range [0,1]  
    GLdouble 64 An IEEE-754 floating-point value GL_DOUBLE
    GLclampd 64 An IEEE-754 floating-point value, clamped to the range [0,1]
  • 相关阅读:
    Design Pattern Explained
    StringBuilder or StringBuffer
    Algorithms
    Difference between pages and blocks
    Date Time Calendar
    Math if fun
    Sublime Text
    Java Regex
    Learning C
    跨域通信/跨域上传浅析
  • 原文地址:https://www.cnblogs.com/Searchor/p/9069050.html
Copyright © 2011-2022 走看看