码迷,mamicode.com
首页 > 其他好文 > 详细

OpenGL Type

时间:2018-05-21 20:24:57      阅读:148      评论:0      收藏:0      [点我收藏+]

标签:poi   tle   bit   off   floating   integer   ges   dep   ref   

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]

OpenGL Type

标签:poi   tle   bit   off   floating   integer   ges   dep   ref   

原文地址:https://www.cnblogs.com/Searchor/p/9069050.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!