Modules | |
OpenGL Interoperability [DEPRECATED] | |
Enumerations | |
enum | cudaGLDeviceList { cudaGLDeviceListAll = 1, cudaGLDeviceListCurrentFrame = 2, cudaGLDeviceListNextFrame = 3 } |
Functions | |
cudaError_t | cudaGLGetDevices (unsigned int *pCudaDeviceCount, int *pCudaDevices, unsigned int cudaDeviceCount, enum cudaGLDeviceList deviceList) |
Gets the CUDA devices associated with the current OpenGL context. | |
cudaError_t | cudaGLSetGLDevice (int device) |
Sets a CUDA device to use OpenGL interoperability. | |
cudaError_t | cudaGraphicsGLRegisterBuffer (struct cudaGraphicsResource **resource, GLuint buffer, unsigned int flags) |
Registers an OpenGL buffer object. | |
cudaError_t | cudaGraphicsGLRegisterImage (struct cudaGraphicsResource **resource, GLuint image, GLenum target, unsigned int flags) |
Register an OpenGL texture or renderbuffer object. | |
cudaError_t | cudaWGLGetDevice (int *device, HGPUNV hGpu) |
Gets the CUDA device associated with hGpu. |