cuda.bindings._v2.driver.graphics_resource_get_mapped_egl_frame#
- cuda.bindings._v2.driver.graphics_resource_get_mapped_egl_frame(
- intptr_t egl_frame,
- intptr_t resource,
- unsigned int index,
- unsigned int mip_level,
Get an EGL frame through which to access a registered EGL resource.
Returns an eglFrame pointer through which the registered graphics resource
resourcemay be accessed. This API can only be called for registered EGL graphics resources. Ifresourceis not registered,CUDA_ERROR_NOT_MAPPEDis returned.- Parameters:
egl_frame (intptr_t) – Pointer to a
CUeglFramethat will receive the frame data.resource (intptr_t) – Registered graphics resource to access.
index (unsigned int) – Index for array textures.
mip_level (unsigned int) – Mipmap level for the resource.
See also
cuGraphicsResourceGetMappedEglFrame