aboutsummaryrefslogtreecommitdiffstats
path: root/pages/develop/api/efl/canvas/surface/property/native_buffer.txt
blob: aa73f71b0e7d8283abc2ceb2ae970aaceaa3b5c4 (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
39
40
41
42
43
44
45
46
47
48
~~Title: Efl.Canvas.Surface.native_buffer~~
===== Signature =====

<code>
@property native_buffer {
    get {
        values {
            buffer: void_ptr;
        }
    }
    set {
        values {
            buffer: void_ptr;
        }
        return: bool @warn_unused;
    }
}
</code>

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

<code c>
void *efl_canvas_surface_native_buffer_get(const Eo *obj);
Eina_Bool efl_canvas_surface_native_buffer_set(Eo *obj, void *buffer);
</code>

===== Values =====

  * **buffer** - %%The external buffer, depends on its type.%%
===== Description =====

%%External buffer attached to this native surface.%%

%%Set to %%''null''%% to detach this surface from the external buffer.%%


{{page>:develop:api-include:efl:canvas:surface:property:native_buffer:description&nouser&nolink&nodate}}

==== Setter ====

%%Set the buffer. If this fails, this function returns %%''false''%%, and the surface is left without any attached buffer.%%
{{page>:develop:api-include:efl:canvas:surface:property:native_buffer:getter_description&nouser&nolink&nodate}}


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

  * **Efl.Canvas.Surface.native_buffer**