[][src]Function opencv::core::unmap_gl_buffer

pub fn unmap_gl_buffer(u: &mut UMat) -> Result<()>

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().