1TICKIT_RENDERBUFFER_REF(3) Library Functions Manual TICKIT_RENDERBUFFER_REF(3)
2
3
4

NAME

6       tickit_renderbuffer_ref,  tickit_renderbuffer_unref  -  adjust the ref‐
7       count of a render buffer
8

SYNOPSIS

10       #include <tickit.h>
11
12       TickitRenderBuffer *tickit_renderbuffer_ref(TickitRenderBuffer *rb);
13       void tickit_renderbuffer_unref(TickitRenderBuffer *rb);
14
15       Link with -ltickit.
16

DESCRIPTION

18       tickit_renderbuffer_ref() increments the stored refcount of  the  given
19       render  buffer instance by one. It returns the pointer argument itself,
20       so it is useful for chaining.
21
22       tickit_renderbuffer_unref() decrements the stored refcount of the given
23       render  buffer  instance  by  one.  If  the refcount drops to zero, the
24       instance is destroyed. This will release any  resources  controlled  by
25       it.
26

RETURN VALUE

28       tickit_renderbuffer_ref()  returns  a  render  buffer instance pointer.
29       tickit_renderbuffer_unref() returns no value.
30

SEE ALSO

32       tickit_renderbuffer_new(3), tickit_renderbuffer(7), tickit(7)
33
34
35
36                                                    TICKIT_RENDERBUFFER_REF(3)
Impressum