OpenGL Interoperability
[CUDA Driver API]


 OpenGL Interoperability [DEPRECATED]


CUresult cuGLCtxCreate (CUcontext *pCtx, unsigned int Flags, CUdevice device)
 Create a CUDA context for interoperability with OpenGL.
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.

Detailed Description

This section describes the OpenGL interoperability functions of the low-level CUDA driver application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA