Function opencv::core::unmap_gl_buffer

source ·
pub fn unmap_gl_buffer(u: &mut UMat) -> Result<()>
Expand description

Unmaps Buffer object (releases UMat, previously mapped from Buffer).

Function must be called explicitly by the user for each UMat previously constructed by the call to mapGLBuffer() function.

Parameters

  • u: - source UMat, created by mapGLBuffer().