Top | ![]() |
![]() |
![]() |
![]() |
Offscreen FramebuffersOffscreen Framebuffers — Fuctions for creating and manipulating offscreen framebuffers. |
CoglOffscreen *
cogl_offscreen_new_to_texture (CoglTexture *texture
);
This creates an offscreen buffer object using the given texture
as the
primary color buffer. It doesn't just initialize the contents of the
offscreen buffer with the texture
; they are tightly bound so that
drawing to the offscreen buffer effectivly updates the contents of the
given texture. You don't need to destroy the offscreen buffer before
you can use the texture
again.
gboolean
cogl_is_offscreen (void *object
);
Determines whether the given CoglObject references an offscreen framebuffer object.