aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/gfx/buffer/access_mode.txt
blob: 648e6d19a3bb37ae6b05b383920fe12e51152bd7 (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
38
~~Title: Efl.Gfx.Buffer.Access_Mode~~
===== Description =====

%%Graphics buffer access mode%%

{{page>:develop:api-include:efl:gfx:buffer:access_mode:description&nouser&nolink&nodate}}

===== Fields =====

{{page>:develop:api-include:efl:gfx:buffer:access_mode:fields&nouser&nolink&nodate}}

  * **none** - %%No buffer access%%
  * **read** - %%Read access to buffer%%
  * **write** - %%Write aces to buffer%%
  * **cow** - %%Forces copy-on-write if already mapped as read-only. Requires write.%%

===== Signature =====

<code>
enum Efl.Gfx.Buffer.Access_Mode {
    none: 0,
    read: 1,
    write: 2,
    cow: 4
}
</code>

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

<code c>
typedef enum {
    EFL_GFX_BUFFER_ACCESS_MODE_NONE = 0,
    EFL_GFX_BUFFER_ACCESS_MODE_READ = 1,
    EFL_GFX_BUFFER_ACCESS_MODE_WRITE = 2,
    EFL_GFX_BUFFER_ACCESS_MODE_COW = 4
} Efl_Gfx_Buffer_Access_Mode;
</code>