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

glXGetCurrentReadDrawable Subroutine

Purpose

Returns the current read drawable.

Library

OpenGL C bindings library: libGL.a

C Syntax

GLXDrawable glXGetCurrentReadDrawable( void )

Description

The glXGetCurrentReadDrawable subroutine returns the current read drawable, as specified by the glXMakeContextCurrent subroutine. If the glXMakeCurrent subroutine is used, then the specified drawable is both the read and write drawable. If there is no current read 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 read 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 glXMakeContextCurrent subroutine and the glXGetCurrentDrawable subroutine.

OpenGL in the AIXwindows (GLX) Environment.

OpenGL Overview.


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