IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Page OpenGL 2.X --- Revenir au moteur de recherche

Name

glXGetSelectedEvent — returns GLX events that are selected for a window or a GLX pixel buffer

C Specification

void glXGetSelectedEvent(Display *  dpy,
 GLXDrawable  draw,
 unsigned long *  event_mask);

Parameters

dpy

Specifies the connection to the X server.

draw

Specifies a GLX drawable. Must be a GLX pixel buffer or a window.

event_mask

Returns the events that are selected for draw.

Description

glXGetSelectedEvent returns in event_mask the events selected for draw.

Notes

glXGetSelectedEvent is available only if the GLX version is 1.3 or greater.

If the GLX version is 1.1 or 1.0, the GL version must be 1.0. If the GLX version is 1.2, then the GL version must be 1.1. If the GLX version is 1.3, then the GL version must be 1.2.

Errors

GLXBadDrawable is generated if draw is not a valid window or a valid GLX pixel buffer.

Copyright

Copyright © 1991-2006 Silicon Graphics, Inc. This document is licensed under the SGI Free Software B License. For details, see http://oss.sgi.com/projects/FreeB/.