Bullet Collision Detection & Physics Library
Macros | Typedefs | Functions
cl_gl.h File Reference
#include <MiniCL/cl_platform.h>
Include dependency graph for cl_gl.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define CL_GL_OBJECT_BUFFER   0x2000
 
#define CL_GL_OBJECT_TEXTURE2D   0x2001
 
#define CL_GL_OBJECT_TEXTURE3D   0x2002
 
#define CL_GL_OBJECT_RENDERBUFFER   0x2003
 
#define CL_GL_TEXTURE_TARGET   0x2004
 
#define CL_GL_MIPMAP_LEVEL   0x2005
 

Typedefs

typedef cl_uint cl_gl_object_type
 
typedef cl_uint cl_gl_texture_info
 
typedef cl_uint cl_gl_platform_info
 

Functions

CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLBuffer (cl_context, cl_mem_flags, GLuint, int *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLTexture2D (cl_context, cl_mem_flags, GLenum, GLint, GLuint, cl_int *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLTexture3D (cl_context, cl_mem_flags, GLenum, GLint, GLuint, cl_int *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLRenderbuffer (cl_context, cl_mem_flags, GLuint, cl_int *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_int CL_API_CALL clGetGLObjectInfo (cl_mem, cl_gl_object_type *, GLuint *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_int CL_API_CALL clGetGLTextureInfo (cl_mem, cl_gl_texture_info, size_t, void *, size_t *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireGLObjects (cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_API_SUFFIX__VERSION_1_0
 
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseGLObjects (cl_command_queue, cl_uint, const cl_mem *, cl_uint, const cl_event *, cl_event *) CL_API_SUFFIX__VERSION_1_0
 

Macro Definition Documentation

#define CL_GL_MIPMAP_LEVEL   0x2005

Definition at line 51 of file cl_gl.h.

#define CL_GL_OBJECT_BUFFER   0x2000

Definition at line 44 of file cl_gl.h.

#define CL_GL_OBJECT_RENDERBUFFER   0x2003

Definition at line 47 of file cl_gl.h.

#define CL_GL_OBJECT_TEXTURE2D   0x2001

Definition at line 45 of file cl_gl.h.

#define CL_GL_OBJECT_TEXTURE3D   0x2002

Definition at line 46 of file cl_gl.h.

#define CL_GL_TEXTURE_TARGET   0x2004

Definition at line 50 of file cl_gl.h.

Typedef Documentation

Definition at line 39 of file cl_gl.h.

Definition at line 41 of file cl_gl.h.

Definition at line 40 of file cl_gl.h.

Function Documentation

CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLBuffer ( cl_context  ,
cl_mem_flags  ,
GLuint  ,
int *   
)
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLRenderbuffer ( cl_context  ,
cl_mem_flags  ,
GLuint  ,
cl_int  
)
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLTexture2D ( cl_context  ,
cl_mem_flags  ,
GLenum  ,
GLint  ,
GLuint  ,
cl_int  
)
CL_API_ENTRY cl_mem CL_API_CALL clCreateFromGLTexture3D ( cl_context  ,
cl_mem_flags  ,
GLenum  ,
GLint  ,
GLuint  ,
cl_int  
)
CL_API_ENTRY cl_int CL_API_CALL clEnqueueAcquireGLObjects ( cl_command_queue  ,
cl_uint  ,
const cl_mem ,
cl_uint  ,
const cl_event ,
cl_event  
)
CL_API_ENTRY cl_int CL_API_CALL clEnqueueReleaseGLObjects ( cl_command_queue  ,
cl_uint  ,
const cl_mem ,
cl_uint  ,
const cl_event ,
cl_event  
)
CL_API_ENTRY cl_int CL_API_CALL clGetGLObjectInfo ( cl_mem  ,
cl_gl_object_type ,
GLuint *   
)
CL_API_ENTRY cl_int CL_API_CALL clGetGLTextureInfo ( cl_mem  ,
cl_gl_texture_info  ,
size_t  ,
void *  ,
size_t *   
)