OpenGL Interoperability
[CUDA Runtime API]


Functions

cudaError_t cudaGLMapBufferObject (void **devPtr, GLuint bufObj)
 Maps a buffer object for access by CUDA.
cudaError_t cudaGLMapBufferObjectAsync (void **devPtr, GLuint bufObj, cudaStream_t stream)
 Maps a buffer object for access by CUDA.
cudaError_t cudaGLRegisterBufferObject (GLuint bufObj)
 Registers a buffer object for access by CUDA.
cudaError_t cudaGLSetBufferObjectMapFlags (GLuint bufObj, unsigned int flags)
 Set usage flags for mapping an OpenGL buffer.
cudaError_t cudaGLSetGLDevice (int device)
 Sets the CUDA device for use with OpenGL interoperability.
cudaError_t cudaGLUnmapBufferObject (GLuint bufObj)
 Unmaps a buffer object for access by CUDA.
cudaError_t cudaGLUnmapBufferObjectAsync (GLuint bufObj, cudaStream_t stream)
 Unmaps a buffer object for access by CUDA.
cudaError_t cudaGLUnregisterBufferObject (GLuint bufObj)
 Unregisters a buffer object for access by CUDA.
cudaError_t cudaWGLGetDevice (int *device, HGPUNV hGpu)
 Gets the CUDA device associated with hGpu.

Detailed Description

This section describes the OpenGL interoperability functions of the CUDA runtime application programming interface.

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA