Unmap a region of this buffer, and update the internal data if needed.

EFL will update the internal image if the map had write access.

The slice struct does not need to be the one returned by Efl.Gfx.Buffer.buffer_map, only its contents (mem and len) must match. But after a call to Efl.Gfx.Buffer.buffer_unmap the original slice structure is not valid anymore.


buffer_unmap @pure_virtual {
    params {
        @in slice: Eina.Rw_Slice;
    return: bool;

C signature

Eina_Bool efl_gfx_buffer_unmap(Eo *obj, Eina_Rw_Slice slice);


  • slice (in) - Data slice returned by a previous call to map.

Implemented by

  • Efl.Gfx.Buffer.buffer_unmap