Expand description
OpenGL interop.
Functions§
- get_
devices - List CUDA device ordinals associated with the current GL context.
device_listselects which slice of the rendering pipeline (cudaGLDeviceList_all, _current_frame, _next_frame). - register_
buffer ⚠ - Register a GL buffer object (VBO / SSBO / …) for CUDA access.
- register_
image ⚠ - Register a GL texture / renderbuffer.
targetis the GL binding target (GL_TEXTURE_2D,GL_RENDERBUFFER, …).