2011-12-02 13:12:53 +00:00
|
|
|
# Normal types.
|
|
|
|
GLsizei, int
|
2011-12-05 18:41:46 +00:00
|
|
|
GLsizeiptr, Integer
|
|
|
|
GLintptr, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
# GLenum, int
|
|
|
|
GLboolean, boolean # bool # int
|
|
|
|
GLbitfield, int
|
2011-12-05 18:41:46 +00:00
|
|
|
# GLvoid*, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
# GLvoid, Void #Object
|
|
|
|
GLchar, char
|
|
|
|
GLbyte, byte
|
|
|
|
GLubyte, byte
|
|
|
|
GLshort, short
|
|
|
|
GLushort, short
|
|
|
|
GLint, int
|
|
|
|
GLuint, int
|
|
|
|
GLfloat, float
|
|
|
|
GLclampf, float
|
|
|
|
GLdouble, double
|
|
|
|
GLclampd, double
|
|
|
|
GLstring, String
|
|
|
|
|
|
|
|
PixelInternalFormat, PixelInternalFormat
|
|
|
|
|
|
|
|
# ARB and NV types.
|
2011-12-05 18:41:46 +00:00
|
|
|
GLsizeiptrARB, Integer
|
|
|
|
GLintptrARB, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
GLhandleARB, int
|
|
|
|
GLhalfARB, Half
|
|
|
|
GLhalfNV, Half
|
|
|
|
GLcharARB, char
|
|
|
|
|
|
|
|
# 64 bit types (introduced in 2.1)
|
|
|
|
GLint64EXT, long
|
|
|
|
GLuint64EXT, long
|
|
|
|
GLint64, long
|
|
|
|
GLuint64, long
|
|
|
|
|
|
|
|
# ARB_sync (introduced in 3.2)
|
2011-12-05 18:41:46 +00:00
|
|
|
sync, Integer
|
|
|
|
GLsync, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
|
|
|
|
# Wgl types.
|
2011-12-05 18:41:46 +00:00
|
|
|
PROC, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
LPCSTR, String
|
|
|
|
COLORREF, int
|
|
|
|
BOOL, boolean
|
|
|
|
DWORD, int
|
|
|
|
FLOAT, float
|
2011-12-05 18:41:46 +00:00
|
|
|
HANDLE, Integer
|
|
|
|
HDC, Integer
|
|
|
|
HGLRC, Integer
|
|
|
|
HPBUFFERARB, Integer #HPBUFFERARB
|
|
|
|
HPBUFFEREXT, Integer #HPBUFFEREXT
|
2011-12-02 13:12:53 +00:00
|
|
|
INT32, int
|
|
|
|
INT64, long
|
|
|
|
LPVOID, void*
|
|
|
|
#String, const char *
|
|
|
|
UINT, int
|
|
|
|
USHORT, short
|
|
|
|
VOID, void
|
|
|
|
VoidPointer, void*
|
|
|
|
float, float
|
|
|
|
int, int
|
|
|
|
#void, *
|
|
|
|
GLDEBUGPROCARB, DebugProcArb
|
|
|
|
GLDEBUGPROCAMD , DebugProcAmd
|
2011-12-05 18:41:46 +00:00
|
|
|
GLvdpauSurfaceNV, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
|
|
|
|
# Glu types.
|
|
|
|
Float64 double
|
2011-12-05 18:41:46 +00:00
|
|
|
Float64Pointer Double
|
2011-12-02 13:12:53 +00:00
|
|
|
Float32 float
|
2011-12-05 18:41:46 +00:00
|
|
|
Float32Pointer Float
|
2011-12-02 13:12:53 +00:00
|
|
|
|
|
|
|
# Glx types.
|
|
|
|
Void void
|
|
|
|
Bool boolean
|
|
|
|
int64_t long
|
|
|
|
int32_t int
|
|
|
|
|
2011-12-05 18:41:46 +00:00
|
|
|
Display Integer
|
|
|
|
Window Integer
|
|
|
|
Pixmap Integer
|
|
|
|
Colormap Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
|
2011-12-05 18:41:46 +00:00
|
|
|
GLXWindow Integer
|
|
|
|
GLXContext Integer
|
|
|
|
GLXDrawable Integer
|
|
|
|
GLXPixmap Integer
|
|
|
|
__GLXextFuncPtr Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
|
2011-12-05 18:41:46 +00:00
|
|
|
VLServer Integer
|
|
|
|
VLPath Integer
|
|
|
|
VLNode Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
# OpenGL|ES types.
|
|
|
|
GLclampx, int
|
|
|
|
GLfixed, int
|
2011-12-05 18:41:46 +00:00
|
|
|
GLeglImageOES, Integer
|
2011-12-02 13:12:53 +00:00
|
|
|
|
|
|
|
|
|
|
|
# OpenCL types.
|
2011-12-05 18:41:46 +00:00
|
|
|
_cl_context, Integer
|
|
|
|
_cl_event, Integer
|
|
|
|
cl_command_queue, Integer
|
|
|
|
cl_context, Integer
|
|
|
|
cl_device_id, Integer
|
|
|
|
cl_event, Integer
|
|
|
|
cl_kernel, Integer
|
|
|
|
cl_mem, Integer
|
|
|
|
cl_platform_id, Integer
|
|
|
|
cl_program, Integer
|
|
|
|
cl_sampler, Integer
|
|
|
|
size_t, Integer # not exactly right, NativeLong is the correct one.
|
2011-12-02 13:12:53 +00:00
|
|
|
|
|
|
|
cl_bool, boolean
|
|
|
|
cl_int, int
|
|
|
|
cl_uint, uint
|
|
|
|
uchar, byte
|
|
|
|
|
|
|
|
cl_addressing_mode, AddressingMode
|
|
|
|
cl_command_queue_info, CommandQueueInfo
|
|
|
|
cl_command_queue_properties, CommandQueueProperties
|
|
|
|
cl_context_info, ContextInfo
|
2011-12-05 18:41:46 +00:00
|
|
|
cl_context_properties, Integer # ContextProperties
|
2011-12-02 13:12:53 +00: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
|
|
|
|
cl_kernel_work_group_info, KernelWorkGroupInfo
|
|
|
|
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
|
|
|
|
cl_program_info, ProgramInfo
|
|
|
|
cl_sampler_info, SamplerInfo
|
|
|
|
cl_work_group_info, WorkGroupInfo
|
2011-12-05 18:41:46 +00:00
|
|
|
|
|
|
|
# OpenTK-specific
|
|
|
|
IntPtr, Pointer # com.sun.jna
|