aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/gfx/buffer/method/buffer_unmap.txt
blob: f86792bedc32b96d2d434fc15c0541d31245449e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
~~Title: Efl.Gfx.Buffer.buffer_unmap~~
===== Description =====

%%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.%%

<note>
%%The %%''slice''%% struct does not need to be the one returned by %%[[:develop:api:efl:gfx:buffer:method:buffer_map|Efl.Gfx.Buffer.buffer_map]]%%, only its contents (%%''mem''%% and %%''len''%%) must match. But after a call to %%[[:develop:api:efl:gfx:buffer:method:buffer_unmap|Efl.Gfx.Buffer.buffer_unmap]]%% the original %%''slice''%% structure is not valid anymore.%%
</note>
{{page>:develop:api-include:efl:gfx:buffer:method:buffer_unmap:description&nouser&nolink&nodate}}

===== Signature =====

<code>
buffer_unmap @pure_virtual {
    params {
        @in slice: Eina.Rw_Slice;
    }
    return: bool;
}
</code>

===== C signature =====

<code c>
Eina_Bool efl_gfx_buffer_unmap(Eo *obj, Eina_Rw_Slice slice);
</code>

===== Parameters =====

  * **slice** //(in)// - %%Data slice returned by a previous call to map.%%

===== Implemented by =====

  * **Efl.Gfx.Buffer.buffer_unmap**