Modules | |
| OpenGL Interoperability [DEPRECATED] | |
Typedefs | |
| typedef enum CUGLDeviceList_enum | CUGLDeviceList |
Enumerations | |
| enum | CUGLDeviceList_enum { CU_GL_DEVICE_LIST_ALL = 0x01, CU_GL_DEVICE_LIST_CURRENT_FRAME = 0x02, CU_GL_DEVICE_LIST_NEXT_FRAME = 0x03 } |
Functions | |
| CUresult | cuGLCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice device) |
| Create a CUDA context for interoperability with OpenGL. | |
| CUresult | cuGLGetDevices (unsigned int *pCudaDeviceCount, CUdevice *pCudaDevices, unsigned int cudaDeviceCount, CUGLDeviceList deviceList) |
| Gets the CUDA devices associated with the current OpenGL context. | |
| CUresult | cuGraphicsGLRegisterBuffer (CUgraphicsResource *pCudaResource, GLuint buffer, unsigned int Flags) |
| Registers an OpenGL buffer object. | |
| CUresult | cuGraphicsGLRegisterImage (CUgraphicsResource *pCudaResource, GLuint image, GLenum target, unsigned int Flags) |
| Register an OpenGL texture or renderbuffer object. | |
| CUresult | cuWGLGetDevice (CUdevice *pDevice, HGPUNV hGpu) |
| Gets the CUDA device associated with hGpu. | |