GLDrawable Class Reference

List of all members.

Detailed Description

OpenGL rendering surface interface.


Public Member Functions

GdkGLDrawable * ggl ()
 Gets the GdkGLDrawable for this GLDrawable.
char[] toString ()
 Gets an object identification.
bit makeCurrent (GLDrawable gldrawable, GLContext glcontext)
 Sets this as the current GL drawable.
bit isDoubleBuffered ()
 Checks if this drawable is double buffered.
void swapBuffers ()
 Swap the buffers on this double buffered draawable.
void waitGL ()
 Complete OpenGL execution prior to subsequent GDK drawing calls.
void waitGDK ()
 Complete GDK drawing execution prior to subsequent OpenGL calls.
bit begin (GLContext glcontext)
 Delimits the begining of the OpenGL execution.
void end ()
 Delimits the end of the OpenGL execution.
GLConfig getGLConfig ()
 Gets a new GLConfig for this GL.
void getSize (gint *width, gint *height)
 Gets the size.


Member Function Documentation

bit GLDrawable.begin GLContext  glcontext  ) 
 

Delimits the begining of the OpenGL execution.

Parameters:
glcontext 

void GLDrawable.end  ) 
 

Delimits the end of the OpenGL execution.

GLConfig GLDrawable.getGLConfig  ) 
 

Gets a new GLConfig for this GL.

Returns:
a new GLConfig

void GLDrawable.getSize gint *  width,
gint *  height
 

Gets the size.

Parameters:
width 
height 

GdkGLDrawable* GLDrawable.ggl  ) 
 

Gets the GdkGLDrawable for this GLDrawable.

bit GLDrawable.isDoubleBuffered  ) 
 

Checks if this drawable is double buffered.

Returns:
true if this drawable is double buffered

bit GLDrawable.makeCurrent GLDrawable  gldrawable,
GLContext  glcontext
 

Sets this as the current GL drawable.

Parameters:
gldrawable 
glcontext 

void GLDrawable.swapBuffers  ) 
 

Swap the buffers on this double buffered draawable.

char [] GLDrawable.toString  ) 
 

Gets an object identification.

Returns:
a string that identifies the object (or the class)

void GLDrawable.waitGDK  ) 
 

Complete GDK drawing execution prior to subsequent OpenGL calls.

void GLDrawable.waitGL  ) 
 

Complete OpenGL execution prior to subsequent GDK drawing calls.


SourceForge.net Logo DSource.org Logo digitalmars.com Logo