cudaError_t cudaGLUnregisterBufferObject ( GLuint  bufObj  ) 

Unregisters the buffer object of ID bufObj for access by CUDA and releases any CUDA resources associated with the buffer. Once a buffer is unregistered, it may no longer be mapped by CUDA. The GL context used to create the buffer, or another context from the same share group, must be bound to the current thread when this is called.

Parameters:
bufObj - Buffer object to unregister
Returns:
cudaSuccess
Note:
Note that this function may also return error codes from previous, asynchronous launches.
See also:
cudaGLSetGLDevice, cudaGLRegisterBufferObject, cudaGLMapBufferObject, cudaGLUnmapBufferObject


Generated by Doxygen on Mon Mar 30 23:16:11 2009 for NVIDIA CUDA Library  NVIDIA