2009-02-28 16:28:16 +01:00
|
|
|
# Normal types.
|
|
|
|
GLsizei, Int32
|
|
|
|
GLsizeiptr, IntPtr
|
|
|
|
GLintptr, IntPtr
|
|
|
|
# GLenum, Int32
|
2009-08-04 01:10:37 +02:00
|
|
|
GLboolean, bool # Boolean # Int32
|
2009-02-28 16:28:16 +01:00
|
|
|
GLbitfield, UInt32
|
|
|
|
# GLvoid*, IntPtr
|
2014-03-12 18:12:38 +01:00
|
|
|
GLvoid, Void #Object
|
2009-02-28 16:28:16 +01:00
|
|
|
GLchar, Char
|
|
|
|
GLbyte, SByte
|
|
|
|
GLubyte, Byte
|
|
|
|
GLshort, Int16
|
|
|
|
GLushort, UInt16
|
|
|
|
GLint, Int32
|
|
|
|
GLuint, UInt32
|
|
|
|
GLfloat, Single
|
|
|
|
GLclampf, Single
|
|
|
|
GLdouble, Double
|
|
|
|
GLclampd, Double
|
|
|
|
GLstring, String
|
2013-11-17 00:45:52 +01:00
|
|
|
int, Int32
|
|
|
|
uint, UInt32
|
2009-02-28 16:28:16 +01:00
|
|
|
|
2009-08-04 01:10:37 +02:00
|
|
|
PixelInternalFormat, PixelInternalFormat
|
2009-02-28 16:28:16 +01:00
|
|
|
|
|
|
|
# ARB and NV types.
|
|
|
|
GLsizeiptrARB, IntPtr
|
|
|
|
GLintptrARB, IntPtr
|
|
|
|
GLhandleARB, UInt32
|
2010-11-21 01:04:49 +01:00
|
|
|
GLhalfARB, Half
|
|
|
|
GLhalfNV, Half
|
2009-02-28 16:28:16 +01:00
|
|
|
GLcharARB, Char
|
|
|
|
|
2013-10-25 08:47:17 +02:00
|
|
|
# ARB_texture_compression (introduced in 1.3)
|
|
|
|
CompressedTextureARB, IntPtr
|
|
|
|
|
2009-02-28 16:28:16 +01:00
|
|
|
# 64 bit types (introduced in 2.1)
|
|
|
|
GLint64EXT, Int64
|
|
|
|
GLuint64EXT, UInt64
|
|
|
|
GLint64, Int64
|
|
|
|
GLuint64, UInt64
|
|
|
|
|
2009-08-04 01:10:37 +02:00
|
|
|
# ARB_sync (introduced in 3.2)
|
|
|
|
sync, IntPtr
|
2010-03-11 23:53:11 +01:00
|
|
|
GLsync, IntPtr
|
2009-08-04 01:10:37 +02:00
|
|
|
|
2013-10-25 08:47:17 +02:00
|
|
|
# Debug callbacks
|
|
|
|
GLDEBUGPROC, DebugProc
|
|
|
|
GLDEBUGPROCAMD, DebugProcAmd
|
|
|
|
GLDEBUGPROCARB, DebugProcArb
|
|
|
|
GLDEBUGPROCKHR, DebugProcKhr
|
|
|
|
|
|
|
|
# NV_vdpau
|
|
|
|
GLvdpauSurfaceNV, IntPtr
|
|
|
|
|
2009-02-28 16:28:16 +01:00
|
|
|
# Wgl types.
|
|
|
|
PROC, IntPtr
|
|
|
|
LPCSTR, String
|
|
|
|
COLORREF, Int32
|
|
|
|
BOOL, Boolean
|
|
|
|
DWORD, Int32
|
|
|
|
FLOAT, Single
|
|
|
|
HANDLE, IntPtr
|
|
|
|
HDC, IntPtr
|
|
|
|
HGLRC, IntPtr
|
2009-08-04 01:10:37 +02:00
|
|
|
HPBUFFERARB, IntPtr #HPBUFFERARB
|
|
|
|
HPBUFFEREXT, IntPtr #HPBUFFEREXT
|
2009-02-28 16:28:16 +01:00
|
|
|
INT32, Int32
|
|
|
|
INT64, Int64
|
|
|
|
LPVOID, void*
|
|
|
|
#String, const char *
|
|
|
|
UINT, UInt32
|
|
|
|
USHORT, UInt16
|
|
|
|
VOID, void
|
|
|
|
VoidPointer, void*
|
2013-11-17 00:45:52 +01:00
|
|
|
float, Single
|
2009-02-28 16:28:16 +01:00
|
|
|
#void, *
|
|
|
|
|
|
|
|
# Glu types.
|
|
|
|
Float64 double
|
|
|
|
Float64Pointer double*
|
|
|
|
Float32 float
|
|
|
|
Float32Pointer float*
|
|
|
|
|
|
|
|
# Glx types.
|
2009-08-04 01:10:37 +02:00
|
|
|
Void void
|
|
|
|
Bool bool
|
|
|
|
int64_t long
|
|
|
|
int32_t int
|
2009-02-28 16:28:16 +01:00
|
|
|
|
2009-08-04 01:10:37 +02:00
|
|
|
Display IntPtr
|
|
|
|
Window IntPtr
|
|
|
|
Pixmap IntPtr
|
|
|
|
Colormap IntPtr
|
2009-02-28 16:28:16 +01:00
|
|
|
|
2009-08-04 01:10:37 +02:00
|
|
|
GLXWindow IntPtr
|
|
|
|
GLXContext IntPtr
|
|
|
|
GLXDrawable IntPtr
|
|
|
|
GLXPixmap IntPtr
|
2009-02-28 16:28:16 +01:00
|
|
|
__GLXextFuncPtr IntPtr
|
|
|
|
|
2009-08-04 01:10:37 +02:00
|
|
|
VLServer IntPtr
|
|
|
|
VLPath IntPtr
|
|
|
|
VLNode IntPtr
|
2009-06-30 10:20:32 +02:00
|
|
|
|
2009-08-09 19:56:20 +02:00
|
|
|
|
|
|
|
# OpenGL|ES types.
|
2009-06-30 10:20:32 +02:00
|
|
|
GLclampx, int
|
2009-08-09 19:56:20 +02:00
|
|
|
GLfixed, int
|
2009-08-15 19:32:49 +02:00
|
|
|
GLeglImageOES, IntPtr
|
2009-08-09 19:56:20 +02:00
|
|
|
|
|
|
|
|
|
|
|
# OpenCL types.
|
2010-11-19 10:09:45 +01:00
|
|
|
_cl_context, IntPtr
|
|
|
|
_cl_event, IntPtr
|
2009-08-09 19:56:20 +02:00
|
|
|
cl_command_queue, IntPtr
|
|
|
|
cl_context, IntPtr
|
|
|
|
cl_device_id, IntPtr
|
|
|
|
cl_event, IntPtr
|
|
|
|
cl_kernel, IntPtr
|
|
|
|
cl_mem, IntPtr
|
|
|
|
cl_platform_id, IntPtr
|
|
|
|
cl_program, IntPtr
|
|
|
|
cl_sampler, IntPtr
|
|
|
|
size_t, IntPtr
|
|
|
|
|
|
|
|
cl_bool, bool
|
|
|
|
cl_int, int
|
|
|
|
cl_uint, uint
|
2009-08-11 21:25:26 +02:00
|
|
|
uchar, byte
|
2009-08-09 19:56:20 +02:00
|
|
|
|
|
|
|
cl_addressing_mode, AddressingMode
|
|
|
|
cl_command_queue_info, CommandQueueInfo
|
|
|
|
cl_command_queue_properties, CommandQueueProperties
|
|
|
|
cl_context_info, ContextInfo
|
2010-01-04 14:29:21 +01:00
|
|
|
cl_context_properties, IntPtr # ContextProperties
|
2009-08-09 19:56:20 +02:00
|
|
|
cl_device_info, DeviceInfo
|
|
|
|
cl_device_type, DeviceType
|
|
|
|
cl_event_info, EventInfo
|
|
|
|
cl_filter_mode, FilterMode
|
|
|
|
cl_image_format, ImageFormat
|
|
|
|
cl_image_info, ImageInfo
|
|
|
|
cl_kernel_group_info, KernelGroupInfo
|
|
|
|
cl_kernel_info, KernelInfo
|
2009-08-11 16:02:44 +02:00
|
|
|
cl_kernel_work_group_info, KernelWorkGroupInfo
|
2009-08-09 19:56:20 +02:00
|
|
|
cl_map_flags, MapFlags
|
|
|
|
cl_mem_info, MemInfo
|
|
|
|
cl_mem_flags, MemFlags
|
|
|
|
cl_mem_object_type, MemObjectType
|
|
|
|
cl_platform_info, PlatformInfo
|
|
|
|
cl_profiling_info, ProfilingInfo
|
|
|
|
cl_program_build_info, ProgramBuildInfo
|
2009-08-11 16:02:44 +02:00
|
|
|
cl_program_info, ProgramInfo
|
2009-08-09 19:56:20 +02:00
|
|
|
cl_sampler_info, SamplerInfo
|
2009-08-11 16:02:44 +02:00
|
|
|
cl_work_group_info, WorkGroupInfo
|