Sistemas

Páginas: 96 (23801 palabras) Publicado: 28 de noviembre de 2012
The OpenGL Utility Toolkit (GLUT) Programming Interface
API Version 3
Mark J. Kilgard Silicon Graphics, Inc. November 13, 1996

OpenGL is a trademark of Silicon Graphics, Inc. X Window System is a trademark of X Consortium, Inc. Spaceball is a registered trademark of Spatial Systems Inc. The author has taken care in preparation of this documentation but makes no expressed or implied warrantyof any kind and assumes no responsibility for errors or omissions. No liability is assumed for incidental or consequential damages in connection with or arising from the use of information or programs contained herein.

Copyright c 1994, 1995, 1996. Mark J. Kilgard. All rights reserved.

All rights reserved. No part of this documentation may be reproduced, in any form or by any means, withoutpermission in writing from the author.

CONTENTS

i

Contents
1 Introduction 1.1 Background : : : 1.2 Design Philosophy 1.3 API Version 2 : : 1.4 API Version 3 : : 1.5 Conventions : : : 1.6 Terminology : : :
: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

1 1 2 3 3 4 4 6 6 7 7 8 8 8 9 9 10 10 10 11 11 11 12 12 13 13 13 14 14 15 15 16 16 16 16 17 17 17 18 18 18 1919

2 Initialization 2.1 glutInit : : : : : : : : : : : : : : : : : : : : 2.2 glutInitWindowPosition, glutInitWindowSize 2.3 glutInitDisplayMode : : : : : : : : : : : : : 3 Beginning Event Processing 3.1 glutMainLoop : : : : :

: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

: : : : : : : :: : : : : : : : : : : : : : : : : : : : : : : : : : : :

4 Window Management 4.1 glutCreateWindow : : : : : : : : : : : : : : : : : : : : 4.2 glutCreateSubWindow : : : : : : : : : : : : : : : : : : 4.3 glutSetWindow, glutGetWindow : : : : : : : : : : : : : 4.4 glutDestroyWindow : : : : : : : : : : : : : : : : : : : 4.5 glutPostRedisplay : : : : : : : : : : : : : : : : : : : : 4.6 glutSwapBuffers: : : : : : : : : : : : : : : : : : : : : 4.7 glutPositionWindow : : : : : : : : : : : : : : : : : : : 4.8 glutReshapeWindow : : : : : : : : : : : : : : : : : : : 4.9 glutFullScreen : : : : : : : : : : : : : : : : : : : : : : 4.10 glutPopWindow, glutPushWindow : : : : : : : : : : : : 4.11 glutShowWindow, glutHideWindow, glutIconifyWindow 4.12 glutSetWindowTitle, glutSetIconTitle : : : : : : : : :: 4.13 glutSetCursor : : : : : : : : : : : : : : : : : : : : : : 5 Overlay Management 5.1 glutEstablishOverlay : : : : : : : : 5.2 glutUseLayer : : : : : : : : : : : : 5.3 glutRemoveOverlay : : : : : : : : 5.4 glutPostOverlayRedisplay : : : : : 5.5 glutShowOverlay, glutHideOverlay 6 Menu Management 6.1 glutCreateMenu : : : : : : : : : 6.2 glutSetMenu, glutGetMenu : : : 6.3 glutDestroyMenu : : : :: : : : : 6.4 glutAddMenuEntry : : : : : : : : 6.5 glutAddSubMenu : : : : : : : : 6.6 glutChangeToMenuEntry : : : : 6.7 glutChangeToSubMenu : : : : : 6.8 glutRemoveMenuItem : : : : : : 6.9 glutAttachMenu, glutDetachMenu

: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :

: : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : : :...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Sistemas
  • Sistemas
  • Sistema
  • Sistemas
  • Sistemas
  • Sistemas
  • Sistemas
  • El sistema

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS