![]() |
![]() |
![]() |
COGL 0.8.2 Reference Manual | ![]() |
---|---|---|---|---|
Offscreen BuffersOffscreen Buffers — Fuctions for creating and manipulating offscreen frame buffer objects |
CoglHandle cogl_offscreen_new_to_texture (CoglHandle texhandle); CoglHandle cogl_offscreen_new_multisample (void); CoglHandle cogl_offscreen_ref (CoglHandle handle); void cogl_offscreen_unref (CoglHandle handle); gboolean cogl_is_offscreen (CoglHandle handle); void cogl_offscreen_blit (CoglHandle src_buffer, CoglHandle dst_buffer); void cogl_offscreen_blit_region (CoglHandle src_buffer, CoglHandle dst_buffer, gint src_x, gint src_y, gint src_w, gint src_h, gint dst_x, gint dst_y, gint dst_w, gint dst_h); void cogl_draw_buffer (CoglBufferTarget target, CoglHandle offscreen);
CoglHandle cogl_offscreen_new_to_texture (CoglHandle texhandle);
|
|
Returns : |
gboolean cogl_is_offscreen (CoglHandle handle);
Gets whether the given handle references an existing offscreen buffer object.
void cogl_offscreen_blit (CoglHandle src_buffer, CoglHandle dst_buffer);
|
|
|
void cogl_offscreen_blit_region (CoglHandle src_buffer, CoglHandle dst_buffer, gint src_x, gint src_y, gint src_w, gint src_h, gint dst_x, gint dst_y, gint dst_w, gint dst_h);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
void cogl_draw_buffer (CoglBufferTarget target, CoglHandle offscreen);
|
|
|