![]() |
![]() |
![]() |
Cogl Reference Manual | ![]() |
---|---|---|---|---|
Top | Description |
CoglHandle cogl_offscreen_ref (CoglHandle handle
); void cogl_offscreen_unref (CoglHandle handle
);
CoglHandle cogl_offscreen_ref (CoglHandle handle
);
cogl_offscreen_ref
has been deprecated since version 1.2 and should not be used in newly-written code. cogl_handle_ref()
should be used in new code.
Increments the reference count on the offscreen buffer.
|
A CoglHandle for an offscreen buffer |
Returns : |
For convenience it returns the given CoglHandle. [transfer none] |
void cogl_offscreen_unref (CoglHandle handle
);
cogl_offscreen_unref
has been deprecated since version 1.2 and should not be used in newly-written code. cogl_handle_unref()
should be used in new code.
Decreases the reference count for the offscreen buffer and frees it when the count reaches 0.
|
A CoglHandle for an offscreen buffer |