OpenGL Interoperability
[CUDA Runtime API]


Modules

 OpenGL Interoperability [DEPRECATED]

Enumerations

enum  cudaGLMapFlags {
  cudaGLMapFlagsNone = 0,
  cudaGLMapFlagsReadOnly = 1,
  cudaGLMapFlagsWriteDiscard = 2
}

Functions

cudaError_t cudaGLSetGLDevice (int device)
 Sets the CUDA device for use with 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.

Detailed Description

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

Generated by Doxygen for NVIDIA CUDA Library  NVIDIA