openGL note 1 : Command Suffixes and Argument Data Types
2009-12-10 22:43
429 查看
2009-12-10
正在学习openGL编程,记录些东西。
文章链接http://www.loria.fr/~roegel/cours/iut/opengl/addison.pdf
Command Suffixes and Argument Data Types
OpenGL defines the typedef GLvoid. This is most often used for OpenGL commands that
accept pointers to arrays of values.
正在学习openGL编程,记录些东西。
文章链接http://www.loria.fr/~roegel/cours/iut/opengl/addison.pdf
Command Suffixes and Argument Data Types
Suffix | Data Type | Typical Corresponding C-Language Type | OpenGL Type Definition |
b | 8-bit integer | signed char | GLbyte |
s | 16-bit integer | short | GLshort |
i | 32-bit integer | int or long | GLint,GLsizei |
f | 32-bit floating-point | float | GLfloar,GLclampf |
d | 64-bit floating-point | double | GLdouble,GLclampd |
ub | 8-bit unsigned integer | unsigned char | GLubyte,GLboolean |
us | 16-bit unsigned integer | unsigned short | GLushort |
ui | 32-bit unsigned integer | unsigned int or unsigned long | GLuint,GLenum,GLbittfield |
accept pointers to arrays of values.
相关文章推荐
- JNI Types and Data Structures
- Lengths of Primitive Java and C++ Data Types on Linux and Windows 32-bit/64-bit (Linux和Windows上Java和C++基本数据类型的长度对比32位/64位)
- Data structures and types
- The text, ntext, and image data types are invalid in this subquery or aggregate expression.
- Failed to merge incompatible data types StringType and BinaryType
- JanusGraph->Index Backends -> Search Predicates and Data Types
- 171.View the Exhibit and examine the command used to create the ZONEDATA table.
- JNI Types and Data Structures
- SQL Server Data Types and Their .NET Framework Equivalents-float类型
- 128.Note the points about data dictionary views and dynamic performance views:
- Note of big data dummies:Integrating data types into a big data environment
- Note for video Machine Learning and Data Mining——training vs Testing
- (原) Oracle Spatial: Spatial Data Types and Metadata
- SQL The data types ntext and varchar are incompatible in the not equal to operator 错误
- sybase Invalid command line argument 'and'.
- 6.087 Practical Programming in C, lec2: Variables and datatypes, operators.
- Windows Data Types and Data Type Ranges
- 犀牛书第五版读书笔记——Chapter 3. Datatypes and Values
- Study note about bulk import and export data in MSSQL
- Hive 读书笔记2:Data Types and File Formats