23#ifndef HIP_INCLUDE_AMD_HIP_GL_INTEROP_H
24#define HIP_INCLUDE_AMD_HIP_GL_INTEROP_H
26#if defined(__cplusplus)
101 GLenum target,
unsigned int flags);
105#if defined(__cplusplus)
hipGLDeviceList
Definition amd_hip_gl_interop.h:40
hipError_t hipGLGetDevices(unsigned int *pHipDeviceCount, int *pHipDevices, unsigned int hipDeviceCount, hipGLDeviceList deviceList)
Queries devices associated with the current OpenGL context.
hipError_t hipGraphicsGLRegisterImage(hipGraphicsResource **resource, GLuint image, GLenum target, unsigned int flags)
Register a GL Image for interop and returns the corresponding graphic resource.
hipError_t hipGraphicsGLRegisterBuffer(hipGraphicsResource **resource, GLuint buffer, unsigned int flags)
Registers a GL Buffer for interop and returns corresponding graphics resource.
unsigned int GLenum
Definition amd_hip_gl_interop.h:52
unsigned int GLuint
Definition amd_hip_gl_interop.h:50
@ hipGLDeviceListNextFrame
frame.
Definition amd_hip_gl_interop.h:44
@ hipGLDeviceListAll
All hip devices used by current OpenGL context.
Definition amd_hip_gl_interop.h:41
@ hipGLDeviceListCurrentFrame
frame
Definition amd_hip_gl_interop.h:42