2007-07-23 00:15:18 +00:00
|
|
|
# Normal types.
|
|
|
|
GLsizei, Int32
|
|
|
|
GLsizeiptr, IntPtr
|
|
|
|
GLintptr, IntPtr
|
|
|
|
# GLenum, Int32
|
2007-08-12 16:14:23 +00:00
|
|
|
GLboolean, Boolean #Int32
|
2007-08-01 09:27:57 +00:00
|
|
|
GLbitfield, UInt32
|
2007-08-12 16:14:23 +00:00
|
|
|
# GLvoid*, IntPtr
|
|
|
|
# GLvoid, Void #Object
|
2007-07-23 00:15:18 +00:00
|
|
|
GLchar, Char
|
2007-08-01 09:27:57 +00:00
|
|
|
GLbyte, SByte
|
2007-07-23 00:15:18 +00:00
|
|
|
GLubyte, Byte
|
|
|
|
GLshort, Int16
|
2007-08-01 09:27:57 +00:00
|
|
|
GLushort, UInt16
|
2007-07-23 00:15:18 +00:00
|
|
|
GLint, Int32
|
2007-08-01 09:27:57 +00:00
|
|
|
GLuint, UInt32
|
2007-07-23 00:15:18 +00:00
|
|
|
GLfloat, Single
|
|
|
|
GLclampf, Single
|
|
|
|
GLdouble, Double
|
|
|
|
GLclampd, Double
|
|
|
|
GLstring, String
|
|
|
|
|
|
|
|
# ARB and NV types.
|
|
|
|
GLsizeiptrARB, IntPtr
|
|
|
|
GLintptrARB, IntPtr
|
2007-08-01 09:27:57 +00:00
|
|
|
GLhandleARB, UInt32
|
|
|
|
GLhalfARB, UInt16
|
|
|
|
GLhalfNV, UInt16
|
2007-07-23 00:15:18 +00:00
|
|
|
GLcharARB, Char
|
|
|
|
|
|
|
|
# 64 bit types (introduced in 2.1)
|
|
|
|
GLint64EXT, Int64
|
2007-08-01 09:27:57 +00:00
|
|
|
GLuint64EXT, UInt64
|
2007-07-23 00:15:18 +00:00
|
|
|
GLint64, Int64
|
2007-08-01 09:27:57 +00:00
|
|
|
GLuint64, UInt64
|
2007-08-12 16:14:23 +00:00
|
|
|
|
|
|
|
# Wgl types.
|
|
|
|
PROC, IntPtr
|
|
|
|
LPCSTR, String
|
|
|
|
COLORREF, Int32
|
|
|
|
BOOL, Boolean
|
|
|
|
DWORD, Int32
|
|
|
|
FLOAT, Single
|
|
|
|
HANDLE, IntPtr
|
|
|
|
HDC, IntPtr
|
|
|
|
HGLRC, IntPtr
|
|
|
|
HPBUFFERARB, IntPtr #HPBUFFERARB
|
|
|
|
HPBUFFEREXT, IntPtr #HPBUFFEREXT
|
|
|
|
INT32, Int32
|
|
|
|
INT64, Int64
|
|
|
|
LPVOID, void*
|
|
|
|
#String, const char *
|
|
|
|
UINT, UInt32
|
|
|
|
USHORT, UInt16
|
|
|
|
VOID, Void
|
|
|
|
VoidPointer, void*
|
|
|
|
float, float
|
|
|
|
int, int
|
|
|
|
#void, *
|