Returns the current read drawable.
OpenGL C bindings library: libGL.a
GLXDrawable glXGetCurrentReadDrawable( void )
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.
None | Returned if there is no current read drawable. |
/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. |
The glXMakeContextCurrent subroutine and the glXGetCurrentDrawable subroutine.
OpenGL in the AIXwindows (GLX) Environment.