[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]
OpenGL 1.2 for AIX: Reference Manual

glXGetCurrentDrawable Subroutine

Purpose

Returns the current drawable.

Library

OpenGL C bindings library: libGL.a

C Syntax

GLXDrawable glXGetCurrentDrawable( void )

Description

The glXGetCurrentDrawable subroutine returns the current drawable, as specified by the glXMakeCurrent subroutine. If there is no current drawable, None is returned.

This subroutine returns client-side information only. It does not make a round-trip to the server.

Return Values

None Returned if there is no current drawable.

Files

/usr/include/GL/gl.h Contains C language constants, variable type definitions, and ANSI function prototypes for OpenGL.
/usr/include/GL/glx.h Contains C language constants, variable type definitions, and ANSI function prototypes for GLX.

Related Information

The glXCreateGLXPixmap subroutine, glXMakeCurrent subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


[ Next Article | Previous Article | Book Contents | Library Home | Legal | Search ]