gdk_gl_pixmap_make_current

Langue: en

Version: 299267 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

gdk_gl_pixmap_make_current - attach context to glpixmap

SYNOPSIS

#include <gtkgl/gdkgl.h>

gint gdk_gl_pixmap_make_current( GdkGLPixmap *glpixmap, GdkGLContext *context )

glpixmap
a pointer to GdkGLPixmap
context
a pointer to GdkGLContext

DESCRIPTION

gdk_gl_pixmap_make_current make context current OpenGL rendering context, and it attaches context to glpixmap. gdk_gl_pixmap_make_current returns TRUE of successful.

gdk_gl_pixmap_* functions are the latest addition to the library, not very well tested yet, enables rendering to off-screen pixmaps. See examples/glpixmap.c.

LIBRARY USE

Use -lgtkgl as a flag to the loader.

SEE ALSO

glXMakeCurrent(3), gdk_gl_make_current(3)

AUTHORS

The author of the GTKGLArea library is Janne Löf.

This manpage was created by Morten Kjeldgaard for the Debian project.