home *** CD-ROM | disk | FTP | other *** search
/ The Best of Mecomp Multimedia 2 / MECOMP-CD-II.iso / amiga / programmieren / c / cybergl / autodocs / cybergl.doc
Encoding:
Text File  |  1998-03-12  |  53.2 KB  |  2,476 lines

  1. TABLE OF CONTENTS
  2.  
  3. cybergl.library/--unimplemented--
  4. cybergl.library/--datatypes--
  5. cybergl.library/--GLU_library--
  6. cybergl.library/--PowerUp_Notes--
  7. cybergl.library/allocColor
  8. cybergl.library/allocColorRange
  9. cybergl.library/attachGLWndToRPTagList
  10. cybergl.library/attachGLWindowTagList
  11. cybergl.library/closeGLWindow
  12. cybergl.library/disposeGLWindow
  13. cybergl.library/getWindow
  14. cybergl.library/glBegin
  15. cybergl.library/glBitMap
  16. cybergl.library/glClear
  17. cybergl.library/glClearColor
  18. cybergl.library/glClearDepth
  19. cybergl.library/glClearIndex
  20. cybergl.library/glClipPlane
  21. cybergl.library/glColor3
  22. cybergl.library/glColor4
  23. cybergl.library/glColorMaterial
  24. cybergl.library/glCullFace
  25. cybergl.library/glDepthFunc
  26. cybergl.library/glDepthRange
  27. cybergl.library/glDisable
  28. cybergl.library/glDrawBuffer
  29. cybergl.library/glDrawPixels
  30. cybergl.library/glEdgeFlag
  31. cybergl.library/glEnable
  32. cybergl.library/glEnd
  33. cybergl.library/glFinish
  34. cybergl.library/glFlush
  35. cybergl.library/glFog
  36. cybergl.library/glFrontFace
  37. cybergl.library/glFrustum
  38. cybergl.library/glGetBooleanv
  39. cybergl.library/glGetClipPlane
  40. cybergl.library/glGetDoublev
  41. cybergl.library/glGetError
  42. cybergl.library/glGetFloatv
  43. cybergl.library/glGetIntegerv
  44. cybergl.library/glGetLight
  45. cybergl.library/glGetMaterial
  46. cybergl.library/glGetPixelMap
  47. cybergl.library/glGetString
  48. cybergl.library/glGetTexEnv
  49. cybergl.library/glGetTexGen
  50. cybergl.library/glGetTexImage
  51. cybergl.library/glGetTexLevelParameter
  52. cybergl.library/glGetTexParameter
  53. cybergl.library/glHint
  54. cybergl.library/glIndex
  55. cybergl.library/glInitNames
  56. cybergl.library/glIsEnabled
  57. cybergl.library/glLight
  58. cybergl.library/glLightModel
  59. cybergl.library/glLoadIdentity
  60. cybergl.library/glLoadMatrix
  61. cybergl.library/glLoadName
  62. cybergl.library/glMaterial
  63. cybergl.library/glMatrixMode
  64. cybergl.library/glMultMatrix
  65. cybergl.library/glNormal3
  66. cybergl.library/glOrtho
  67. cybergl.library/glPixelMap
  68. cybergl.library/glPixelStore
  69. cybergl.library/glPixelTransfer
  70. cybergl.library/glPixelZoom
  71. cybergl.library/glPolygonMode
  72. cybergl.library/glPopAttrib
  73. cybergl.library/glPopMatrix
  74. cybergl.library/glPopName
  75. cybergl.library/glPushAttrib
  76. cybergl.library/glPushMatrix
  77. cybergl.library/glPushName
  78. cybergl.library/glRasterPos2
  79. cybergl.library/glRasterPos3
  80. cybergl.library/glRasterPos4
  81. cybergl.library/glRect
  82. cybergl.library/glRenderMode
  83. cybergl.library/glRotate
  84. cybergl.library/glScale
  85. cybergl.library/glSelectBuffer
  86. cybergl.library/glShadeModel
  87. cybergl.library/glTexCoord1
  88. cybergl.library/glTexCoord2
  89. cybergl.library/glTexCoord3
  90. cybergl.library/glTexCoord4
  91. cybergl.library/glTexEnv
  92. cybergl.library/glTexGen
  93. cybergl.library/glTexImage1D
  94. cybergl.library/glTexImage2D
  95. cybergl.library/glTexParameter
  96. cybergl.library/glTranslate
  97. cybergl.library/glVertex2
  98. cybergl.library/glVertex3
  99. cybergl.library/glVertex4
  100. cybergl.library/glViewPort
  101. cybergl.library/openGLWindowTagList
  102. cybergl.library/resizeGLWindow
  103. cybergl.elf/attachGLView
  104. cybergl.elf/closeGLView
  105. cybergl.elf/openGLView
  106. cybergl.elf/resizeGLView
  107. cybergl.library/--unimplemented--         cybergl.library/--unimplemented--
  108.  
  109.  functions defined in the OpenGL 1.0 specification, not available with CyberGL
  110.  
  111.     glAccum()
  112.     glAlphaFunc()
  113.     glCallList()
  114.     glCallLists()
  115.     glClearAccum()
  116.     glClearStencil()
  117.     glColorMask()
  118.     glCopyPixels()
  119.     glDeleteLists()
  120.     glDepthMask()
  121.     glDrawArrays()
  122.     glEndList()
  123.     glEvalCoord1()
  124.     glEvalCoord2()
  125.     glEvalMesh1()
  126.     glEvalMesh2()
  127.     glEvalPoint1()
  128.     glEvalPoint2()
  129.     glFeedbackBuffer()
  130.     glGenLists()
  131.     glGetMap()
  132.     glGetPolygonStipple()
  133.     glIndexMask()
  134.     glIsList()
  135.     glLineStipple()
  136.     glLineWidth()
  137.     glListBase()
  138.     glLogicOp()
  139.     glMap1()
  140.     glMap2()
  141.     glMapGrid1()
  142.     glMapGrid2()
  143.     glNewList()
  144.     glPassThrough()
  145.     glPointSize()
  146.     glPolygonOffset()
  147.     glPolygonStipple()
  148.     glReadBuffer()
  149.     glReadPixels()
  150.     glScissor()
  151.     glStencilFunc()
  152.     glStencilMask()
  153.     glStencilOp()
  154.  
  155.  functions in the OpenGL 1.1 specification, not available with CyberGL
  156.  
  157.     glAreTexturesResident()
  158.     glArrayElement()
  159.     glBindTexture()
  160.     glBlendFunc()
  161.     glColorPointer()
  162.     glCopyTexImage1D()
  163.     glCopyTexSubImage1D()
  164.     glCopyTexSubImage2D()
  165.     glDeleteTextures()
  166.     glDisableClientState()
  167.     glDrawArrays()
  168.     glDrawElements()
  169.     glEdgeFlagPointer()
  170.     glEnableClientState()
  171.     glGenTextures()
  172.     glIndexPointer()
  173.     glInterleavedArrays()
  174.     glNormalPointer()
  175.     glPolygonOffset()
  176.     glPrioritizeTextures()
  177.     glTexCoordPointer()
  178.     glTexSubImage1D()
  179.     glTexSubImage2D()
  180.     glVertexPointer()
  181. cybergl.library/--datatypes--                     cybergl.library/--datatypes--
  182.  
  183.  
  184.  Table of CyberGL-Datatypes
  185.  
  186.  
  187.  Datatype            ANSI C        CyberGL        adoc shortcut
  188.  -----------------------------------------------------------------------------
  189.  signed 8bit integer        signed char    GLbyte        b
  190.  
  191.  signed 16bit integer        short        GLshort        s
  192.  
  193.  signed 32bit integer        int        GLint        i
  194.                         GLsizei
  195.  
  196.  32bit floating point        float        GLfloat        f
  197.                         GLclampf
  198.  
  199.  64bit floating point        double        GLdouble    d
  200.                         GLclampd
  201.  
  202.  unsigned 8bit integer        unsigned char    GLubyte        ub
  203.                         GLboolean
  204.  
  205.  unsigned 16bit integer        unsigned short    GLushort    us
  206.  
  207.  unsigned 32bit integer        unsigned int    GLuint        ui
  208.                         GLenum
  209.                         GLbitfield
  210.  
  211.  (empty)            void        GLvoid
  212.  
  213. cybergl.library/--GLU_library--                cybergl.library/--GLU_library--
  214.  
  215. There is no GL utility library implementation as of yet. However, as an
  216. extension to the standard GL function interface, CyberGL has a small
  217. function subset of GL utility library to simplify transformations. The
  218. following functions are available:
  219.  
  220.  glPerspective()    -> glu library's gluPerspective()
  221.  glOrtho2D()        -> glu library's gluOrtho2D()
  222.  glLookAt()        -> glu library's gluLookAt()
  223.  glPickMatrix()        -> glu library's gluPickMatrix()
  224.  glProject()        -> glu library's gluProject()
  225.  glUnProject()        -> glu library's gluUnProject()
  226.  
  227. cybergl.library/--PowerUp_Notes--            cybergl.library/--PowerUp_Notes--
  228.  
  229. There is a special version of CyberGL available that supports PPC and the 
  230. PowerUp API. It is available as an elf link library. The actual GL programming
  231. interface is identical to the 68k shared library, the actual window interface
  232. functions work differently, though. Currently, there are 4 special functions
  233. for the ppc version currently to attach a GL context to an intuition window or
  234. graphics RastPort, respectively. This are:
  235.  
  236.     cybergl.elf/attachGLView()
  237.     cybergl.elf/closeGLView()
  238.     cybergl.elf/openGLView()
  239.     cybergl.elf/resizeGLView()
  240.  
  241. The functions not available anymore in the PPC version are:
  242.  
  243.     openGLWindowTagList()
  244.     closeGLWindow()
  245.     attachGLWindowTagList()
  246.     disposeGLWindow()
  247.     resizeGLWindow()
  248.     getWindow()
  249.     allocColor()
  250.     allocColorRange()
  251.     attachGLWndToRPTagList()
  252.  
  253. It is not possible to attach a GL view to a 256 colour or non cybergraphics
  254. screen with the PPC version currently. This may change with a future release.
  255.  
  256. cybergl.library/allocColor                         cybergl.library/allocColor
  257.  
  258.    NAME
  259.         allocColor - allocate a pen with a certain colour for indexed render
  260.                      mode
  261.  
  262.    SYNOPSIS
  263.         pen = allocColor (glwnd,redval,greenval,blueval)
  264.                             A0    D0      D1       D2
  265.  
  266.         GLubyte allocColor(GLvoid *,GLubyte,GLubyte,GLubyte)
  267.  
  268.    FUNCTION
  269.  
  270.    INPUT
  271.     glwnd - pointer to the GLwindow context
  272.  
  273.         redval - requested red component [0-255]
  274.  
  275.         greenval - requested green component [0-255]
  276.  
  277.         blueval - requested blue component [0-255]
  278.  
  279.    RETURN
  280.         pen - index number of allocated pen with the requested colour
  281.  
  282.    NOTES
  283.  
  284.    SEE ALSO
  285.     allocColorRange()
  286. cybergl.library/allocColorRange               cybergl.library/allocColorRange
  287.  
  288.    NAME
  289.     allocColorRange - allocate a range of colours for indexed render
  290.                      mode
  291.  
  292.    SYNOPSIS
  293.     index = allocColorRange(glwnd, r1, g1, b1, r2, g2, b2, num)
  294.                               A0   D0  D1  D2  D3  D4  D5  D6
  295.  
  296.     GLubyte allocColorRange(void *,GLubyte,GLubyte,GLubyte,GLubyte,
  297.                             GLubyte,GLubyte,GLubyte)
  298.  
  299.    FUNCTION
  300.      Allocate a range of colours for indexed render mode within the
  301.     specified colour range.
  302.  
  303.    INPUT
  304.     glwnd - pointer to the GLwindow context
  305.  
  306.     r1 - red component of the first range color [0-255]
  307.  
  308.     g1 - green component of the first range color [0-255]
  309.  
  310.     b1 - blue component of the first range color [0-255]
  311.  
  312.     r2 - red component of the last range color [0-255]
  313.  
  314.     g2 - green component of the last range color [0-255]
  315.  
  316.     b2 - blue component of the last range color [0-255]
  317.  
  318.     num - size of the range
  319.  
  320.    RETURN
  321.     index - starting index number of the requested color range
  322.  
  323.    NOTES
  324.  
  325.    SEE ALSO
  326.     allocColor()
  327. cybergl.library/attachGLWndToRPTagList cybergl.library/attachGLWndToRPTagList
  328.  
  329.    NAME
  330.     attachgGLWndToRPTagList -  create a new gl window context and attach it
  331.         to a graphics RastPort for display.
  332.  
  333.    SYNOPSIS
  334.     glwindow = attachGLWndToRPTagList(screen,rp,width,height,tags)
  335.                                         A0   A1  D0     D1    A2
  336.  
  337.     GLvoid *attachGLWndToRPTagList(struct Screen *,struct RastPort *,
  338.                                    GLint, GLint,struct TagItem *)
  339.    FUNCTION
  340.  
  341.    INPUT
  342.     screen - pointer to an intuition screen structure which is required to
  343.         get pen sharing information
  344.  
  345.     rp - pointer to a graphics RastPort which is used for rendering
  346.  
  347.     width - requested width
  348.  
  349.     height - requested height
  350.  
  351.     tags - taglist with additional attributes
  352.  
  353.  
  354.    TAGS
  355.     GLWA_RGBAMode (BOOL)
  356.         Selects whether CyberGL renders in RGBA (TRUE) or indexed mode
  357.         (FALSE). Defaults to TRUE.
  358.     GLWA_OffsetX (ULONG)
  359.         By default, the gl window render area starts at the inner top left
  360.         border of the intuition window. You can specify an additional
  361.         horizontal offset here.
  362.     GLWA_OffsetY (ULONG)
  363.         By default, the gl window render area starts at the inner top left
  364.         border of the intuition window. You can specify an additional
  365.         vertical offset here.
  366.     GLWA_Error (ULONG *)
  367.         ti_Data points to a ULONG which contains an additional error code
  368.         if the call fails. (Not yet supported)
  369.     GLWA_Buffered (BOOL)
  370.         Selects whether all draw operations update the display immediately
  371.         (FALSE) or everything is updated after a glFlush()/glFinish()
  372.         operation (TRUE). Defaults to FALSE.
  373.  
  374.    RETURN
  375.     glwindow - pointer to the created glwindow context or NULL if creation
  376.         failed
  377.  
  378.    NOTES
  379.     gl window contexts can only be attached to screens which have pen
  380.     sharing enabled.
  381.  
  382.    SEE ALSO
  383.     disposeGLWindow()
  384.  
  385. cybergl.library/attachGLWindowTagList   cybergl.library/attachGLWindowTagList
  386.  
  387.    NAME
  388.     attachGLWindowTagList - create a new gl window context and attach it
  389.         to an intuition window for display.
  390.  
  391.    SYNOPSIS
  392.     glwindow = attachGLWindowTagList(window,width,height,tags)
  393.                                        A0    D0     D1    A1
  394.  
  395.     GLvoid *attachGLWindowTagList(struct Window *,GLint,GLint,
  396.                     struct TagItem *)
  397.    FUNCTION
  398.     Create a new gl window context and attach it to a specified intuition
  399.     window for display.
  400.  
  401.    INPUT
  402.     window - pointer to an intuition window that is used for display
  403.  
  404.     width - requested width
  405.  
  406.     height - requested height
  407.  
  408.     tags - taglist with additional attributes
  409.  
  410.  
  411.    TAGS
  412.     GLWA_RGBAMode (BOOL)
  413.         Selects whether CyberGL renders in RGBA (TRUE) or indexed mode
  414.         (FALSE). Defaults to TRUE.
  415.     GLWA_OffsetX (ULONG)
  416.         By default, the gl window render area starts at the inner top left
  417.         border of the intuition window. You can specify an additional
  418.         horizontal offset here.
  419.     GLWA_OffsetY (ULONG)
  420.         By default, the gl window render area starts at the inner top left
  421.         border of the intuition window. You can specify an additional
  422.         vertical offset here.
  423.     GLWA_Error (ULONG *)
  424.         ti_Data points to a ULONG which contains an additional error code
  425.         if the call fails. (Not yet supported)
  426.     GLWA_Buffered (BOOL)
  427.         Selects whether all draw operations update the display immediately
  428.         (FALSE) or everything is updated after a glFlush()/glFinish()
  429.         operation (TRUE). Defaults to FALSE.
  430.  
  431.    RETURN
  432.     glwindow - pointer to the gl window context created
  433.  
  434.    NOTES
  435.     There is another function which allows the attachment of a gl window
  436.     context to a graphics RastPort, namely attachGLWndToRPTagList().
  437.  
  438.    SEE ALSO
  439.     disposeGLWindow()
  440. cybergl.library/closeGLWindow                   cybergl.library/closeGLWindow
  441.  
  442.    NAME
  443.     closeGLWindow - close the specified gl window context and its related
  444.         intuition window.
  445.  
  446.    SYNOPSIS
  447.     closeGLWindow(glwnd)
  448.                 A0
  449.  
  450.     GLvoid closeGLWindow (GLvoid *)
  451.  
  452.    FUNCTION
  453.  
  454.    INPUT
  455.     glwnd - pointer to the glwindow context that is to be closed
  456.  
  457.    RETURN
  458.  
  459.    NOTES
  460.     You may only use this function, if you created the gl window using
  461.     openGLWindowTagList(). Use disposeGLWindow() otherwise.
  462.  
  463.    SEE ALSO
  464.     disposeGLWindow()
  465. cybergl.library/disposeGLWindow               cybergl.library/disposeGLWindow
  466.  
  467.    NAME
  468.     disposeGLWindow -  destroy a gl window context
  469.  
  470.    SYNOPSIS
  471.     disposeGLWindow(glwnd)
  472.                      A0
  473.  
  474.     GLvoid disposeGLWindow(GLvoid *)
  475.  
  476.    FUNCTION
  477.     destroy the specified gl window context
  478.  
  479.    INPUT
  480.     glwnd - pointer to the glwindow context that is to be destroyed
  481.  
  482.    RETURN
  483.  
  484.    NOTES
  485.     Use closeGLWindow() if you created the context by using 
  486.     openGLWindowTagList()
  487.  
  488.    SEE ALSO
  489.     attachGLWindowTagList(), attachGLWndToRPTagList()
  490.  
  491. cybergl.library/getWindow                           cybergl.library/getWindow
  492.  
  493.    NAME
  494.     getWindow -- return the intuition window pointer for a gl window
  495.         context
  496.  
  497.    SYNOPSIS
  498.     window = getWindow(glwnd)
  499.                 A0
  500.  
  501.     struct Window *getWindow(GLvoid *)
  502.  
  503.  
  504.    FUNCTION
  505.     return the intuition window pointer for a specified gl window context
  506.  
  507.    INPUT
  508.     glwnd - pointer to the GLwindow context
  509.  
  510.    RETURN
  511.     window - pointer to the intuition window the GLwindow is attached to.
  512.          MAY RETURN NULL (e.g. if GLwindow context is attached to a
  513.          rastport instead of a window)
  514.  
  515.    NOTES
  516.     If you created the gl window context by using attachGLWndToRPTagList(),
  517.     the function will return NULL.
  518.  
  519.    SEE ALSO
  520.     openGLWindowTagList()
  521.  
  522. cybergl.library/glBegin                                cybergl.library/glBegin
  523.  
  524.    NAME
  525.     glBegin
  526.  
  527.    SYNOPSIS
  528.     glBegin(GLenum mode)
  529.  
  530.    FUNCTION
  531.     Starts the definition of one or several primitives that is finished
  532.     with glEnd(). Within that specification the primitives point, line,
  533.     polygon, triangle, square, triangle strip, triangle fan, quad strip
  534.     are valid but not all possible CyberGL commands.
  535.  
  536.    INPUT
  537.  
  538.    NOTES
  539.  
  540.    SEE ALSO
  541.     glEnd()
  542. cybergl.library/glBitMap                              cybergl.library/glBitMap
  543.  
  544.    NAME
  545.     glBitMap
  546.  
  547.    SYNOPSIS
  548.     GLvoid glBitmap(GLsizei width, GLsizei height,
  549.                         GLfloat xorig, GLfloat yorig,
  550.                         GLfloat xmove, GLfloat ymove,
  551.                         const GLubyte *bitmap);
  552.  
  553.    FUNCTION
  554.     Display a bitmap. For every 0 entry in the bitmap no fragment is 
  555.     generated, every 1 entry passes the current values for z, colour,
  556.     rasterposition and texture coordinates to the fragment.
  557.  
  558.    INPUT
  559.  
  560.    NOTES
  561.  
  562.    SEE ALSO
  563. cybergl.library/glClear                                cybergl.library/glClear
  564.  
  565.    NAME
  566.     glClear
  567.  
  568.    SYNOPSIS
  569.     GLvoid glClear(GLbitfield mask);
  570.  
  571.    FUNCTION
  572.     Clear one or multiple buffers using the values specified by
  573.     glClearColor(), glClearIndex(), glClearDepth(). If there is a scissor
  574.     box defined, only the selected window is cleared
  575.  
  576.    INPUT
  577.  
  578.    NOTES
  579.  
  580.    SEE ALSO
  581. cybergl.library/glClearColor                      cybergl.library/glClearColor
  582.  
  583.    NAME
  584.     glClearColor
  585.  
  586.    SYNOPSIS
  587.     GLvoid glClearColor(GLclampf red,GLclampd green,GLclampf blue,
  588.                         GLclampf alpha);
  589.  
  590.    FUNCTION
  591.     Set the current value which is used to clear the display buffer to the
  592.     specified value which is limited to the interval [0,1]. The actual
  593.     clearing is done with glClear().
  594.  
  595.    INPUT
  596.  
  597.    NOTES
  598.  
  599.    SEE ALSO
  600. cybergl.library/glClearDepth                      cybergl.library/glClearDepth
  601.  
  602.    NAME
  603.     glClearDepth
  604.  
  605.    SYNOPSIS
  606.     GLvoid glClearDepth(GLclampd depth);
  607.  
  608.    FUNCTION
  609.     Set the current value which is used to clear the z-Buffer to the
  610.     specified value which is limited to the interval [0,1]. The actual
  611.     clearing is done with glClear().
  612.  
  613.    INPUT
  614.  
  615.    NOTES
  616.  
  617.    SEE ALSO
  618. cybergl.library/glClearIndex                      cybergl.library/glClearIndex
  619.  
  620.    NAME
  621.     glClearIndex
  622.  
  623.    SYNOPSIS
  624.     GLvoid glClearIndex(GLfloat c);
  625.  
  626.    FUNCTION
  627.     Set the current colour clearindex for the display buffer to the
  628.     specified value. The argument will be converted to a floating point
  629.     value and masked into the valid interval. The actual clearing is done
  630.     with glClear().
  631.  
  632.    INPUT
  633.  
  634.    NOTES
  635.  
  636.    SEE ALSO
  637. cybergl.library/glClipPlane                        cybergl.library/glClipPlane
  638.  
  639.    NAME
  640.     glClipPlane
  641.  
  642.    SYNOPSIS
  643.     GLvoid glClipPlane(GLenum pname,const GLdouble *equation);
  644.  
  645.    FUNCTION
  646.     Define additional clipping planes. This are specified by their level
  647.     equation in the second parameter and don't need to be parallel to
  648.     the main level of the coordinate system.
  649.  
  650.    INPUT
  651.  
  652.    NOTES
  653.  
  654.    SEE ALSO
  655. cybergl.library/glColor3                              cybergl.library/glColor3
  656.  
  657.    NAME
  658.     glColor3
  659.  
  660.    SYNOPSIS
  661.     glColor3{b s i f d ub us ui}(TYPE red, TYPE green, TYPE blue);
  662.  
  663.    FUNCTION
  664.     Set the current colour. The alpha component is set to 1.0 by default.
  665.  
  666.    INPUT
  667.  
  668.    NOTES
  669.  
  670.    SEE ALSO
  671. cybergl.library/glColor4                              cybergl.library/glColor4
  672.  
  673.    NAME
  674.     glColor4
  675.  
  676.    SYNOPSIS
  677.     glColor4{b s i f d ub us ui}(TYPE red, TYPE green, TYPE blue, 
  678.                                  TYPE alpha);
  679.  
  680.    FUNCTION
  681.     Set the current colour.
  682.  
  683.    INPUT
  684.  
  685.    NOTES
  686.  
  687.    SEE ALSO
  688. cybergl.library/glColorMaterial                cybergl.library/glColorMaterial
  689.  
  690.    NAME
  691.     glColorMaterial
  692.  
  693.    SYNOPSIS
  694.     GLvoid glColorMaterial(GLenum face,  GLenum mode);
  695.  
  696.    FUNCTION
  697.     Combines the selected material parameter of primitives with the
  698.     current colour. This is far simpler than using the glMaterial()
  699.     call.
  700.  
  701.    INPUT
  702.  
  703.    NOTES
  704.  
  705.    SEE ALSO
  706. cybergl.library/glCullFace                          cybergl.library/glCullFace
  707.  
  708.    NAME
  709.     glCullFace
  710.  
  711.    SYNOPSIS
  712.     glCullFace(mode);
  713.  
  714.     GLvoid glCullFace(GLenum mode);
  715.  
  716.    FUNCTION
  717.     Specify whether the front or backface of triangles, squares,
  718.     polygons or rectangles can be removed automatically or not. The front
  719.     or backface of primitives is defined by glFrontFace()
  720.  
  721.    INPUT
  722.     mode - either GL_FRONT or GL_BACK
  723.  
  724.    NOTES
  725.  
  726.    SEE ALSO
  727. cybergl.library/glDepthFunc                        cybergl.library/glDepthFunc
  728.  
  729.    NAME
  730.     glDepthFunc
  731.  
  732.    SYNOPSIS
  733.     GLvoid glDepthFunc(GLenum func);
  734.  
  735.    FUNCTION
  736.     Define the type of z-buffer test when computing fragments.
  737.  
  738.    INPUT
  739.  
  740.    NOTES
  741.  
  742.    SEE ALSO
  743. cybergl.library/glDepthRange                      cybergl.library/glDepthRange
  744.  
  745.    NAME
  746.     glDepthRange
  747.  
  748.    SYNOPSIS
  749.     GLvoid glDepthRange(GLclampd zNear, GLclampd zFar);
  750.  
  751.    FUNCTION
  752.     Define an interval of z-values for transformation from standardized
  753.     projection coordinates to view coordinates. The input values are 
  754.     limited to the valid interval [0,1].
  755.  
  756.    INPUT
  757.  
  758.    NOTES
  759.  
  760.    SEE ALSO
  761. cybergl.library/glDisable                            cybergl.library/glDisable
  762.  
  763.    NAME
  764.     glDisable
  765.  
  766.    SYNOPSIS
  767.     GLvoid glDisable(GLenum cap);
  768.  
  769.    FUNCTION
  770.     Disable certain features of CyberGL, e.g. deactivate dithering, 
  771.     fogging, lighting or texturing. Use glEnable() to activate
  772.     certain features.
  773.  
  774.    INPUT
  775.  
  776.    NOTES
  777.  
  778.    SEE ALSO
  779.     glEnable()
  780. cybergl.library/glDrawBuffer                      cybergl.library/glDrawBuffer
  781.  
  782.    NAME
  783.     glDrawBuffer
  784.  
  785.    SYNOPSIS
  786.     GLvoid glDrawBuffer(GLenum mode);
  787.  
  788.  
  789.    FUNCTION
  790.     Set the current picture buffer which is used to render colours or 
  791.     colour indexes to.
  792.  
  793.    INPUT
  794.  
  795.    NOTES
  796.  
  797.    SEE ALSO
  798. cybergl.library/glDrawPixels                      cybergl.library/glDrawPixels
  799.  
  800.    NAME
  801.     glDrawPixels
  802.  
  803.    SYNOPSIS
  804.     GLvoid glDrawPixels(GLsizei width, GLsizei height, GLenum format,
  805.                         GLenum type, const GLvoid *data);
  806.  
  807.    FUNCTION
  808.     Display a picture from memory at the current raster position.
  809.     Depending on the type and format of the specified picture, pixels
  810.     will be understood as colour, colour index, stencil buffer entry,
  811.     z value, alpha value or luminance value.
  812.  
  813.    INPUT
  814.  
  815.    NOTES
  816.  
  817.    SEE ALSO
  818. cybergl.library/glEdgeFlag                          cybergl.library/glEdgeFlag
  819.  
  820.    NAME
  821.     glEdgeFlag
  822.  
  823.    SYNOPSIS
  824.     GLvoid glEdgeFlag(GLboolean flag);
  825.  
  826.     GLvoid glEdgeFlagv(const GLboolean *flag);
  827.  
  828.    FUNCTION
  829.     Mark points of primitives by taking over the specified mark.
  830.     You can modify the display mode of marked edges by glPolygonMode().
  831.  
  832.    INPUT
  833.  
  834.    NOTES
  835.  
  836.    SEE ALSO
  837. cybergl.library/glEnable                              cybergl.library/glEnable
  838.  
  839.    NAME
  840.     glEnable
  841.  
  842.    SYNOPSIS
  843.     GLvoid glEnable(GLenum cap);
  844.  
  845.    FUNCTION
  846.     Activate certain features of CyberGL, e.g. activate dithering, 
  847.     fogging, lighting or texturing. Use glDisable() for deactivation.
  848.  
  849.    INPUT
  850.  
  851.    NOTES
  852.  
  853.    SEE ALSO
  854.     glDisable()
  855. cybergl.library/glEnd                                    cybergl.library/glEnd
  856.  
  857.    NAME
  858.     glEnd
  859.  
  860.    SYNOPSIS
  861.     GLvoid glEnd(GLvoid);
  862.  
  863.    FUNCTION
  864.     Finish the specification of primitives.
  865.  
  866.    INPUT
  867.  
  868.    NOTES
  869.  
  870.    SEE ALSO
  871.     glBegin()
  872.  
  873. cybergl.library/glFinish                              cybergl.library/glFinish
  874.  
  875.    NAME
  876.     glFinish
  877.  
  878.    SYNOPSIS
  879.     GLvoid glFinish(GLvoid);
  880.  
  881.    FUNCTION
  882.     Executes all pending CyberGL functions. It is guaranteed that all
  883.     functions are executed after that call.
  884.  
  885.    INPUT
  886.  
  887.    NOTES
  888.  
  889.    SEE ALSO
  890. cybergl.library/glFlush                                cybergl.library/glFlush
  891.  
  892.    NAME
  893.     glFlush
  894.  
  895.    SYNOPSIS
  896.     GLvoid glFlush(GLvoid);
  897.  
  898.    FUNCTION
  899.     Executes all pending CyberGL functions. In contrast to glFinish() it
  900.     does not wait for the end of the execution.
  901.  
  902.    INPUT
  903.  
  904.    NOTES
  905.  
  906.    SEE ALSO
  907. cybergl.library/glFog                                    cybergl.library/glFog
  908.  
  909.    NAME
  910.     glFog
  911.  
  912.    SYNOPSIS
  913.     GLvoid glFog{f i}(GLenum pname, TYPE param);
  914.  
  915.     GLvoid glFog{f i}v(GLenum pname, constTYPE *params);
  916.  
  917.    FUNCTION
  918.     Specify the fogging parameters. If fogging is enabled, you can define
  919.     the function, the depth and the front and back boundaries of the
  920.     fog color or the fog index respectively.
  921.  
  922.    INPUT
  923.  
  924.    NOTES
  925.  
  926.    SEE ALSO
  927. cybergl.library/glFrontFace                        cybergl.library/glFrontFace
  928.  
  929.    NAME
  930.     glFrontFace
  931.  
  932.    SYNOPSIS
  933.     GLvoid glFrontFace(GLenum mode);
  934.  
  935.    FUNCTION
  936.     Define the front- and backface of surfaces by specifying its
  937.     orientation. This can be either a count of points in closewise or
  938.     anti-clockwise direction.
  939.  
  940.    INPUT
  941.  
  942.    NOTES
  943.  
  944.    SEE ALSO
  945. cybergl.library/glFrustum                            cybergl.library/glFrustum
  946.  
  947.    NAME
  948.     glFrustum
  949.  
  950.    SYNOPSIS
  951.     GLvoid glFrustum(GLdouble left,  GLdouble right, GLdouble bottom,
  952.                      GLdouble top, GLdouble zNear, GLdouble zFar);
  953.  
  954.    FUNCTION
  955.     Multiply the current matrix with a matrix for perspective projection.
  956.     The parameters define the visible area.
  957.  
  958.    INPUT
  959.  
  960.    NOTES
  961.  
  962.    SEE ALSO
  963. cybergl.library/glGetBooleanv                    cybergl.library/glGetBooleanv
  964.  
  965.    NAME
  966.     glGetBooleanv
  967.  
  968.    SYNOPSIS
  969.     GLvoid glGetBooleanv(GLenum pname,GLboolean *params);
  970.  
  971.    FUNCTION
  972.     Can be used to query the CyberGL-state similar to glGetDoublev() ,
  973.     glGetFloatv() and glGetIntegerv(). It returns the data in boolean
  974.     format (TRUE/FALSE). Parameters which are typically queried with
  975.     glGetBooleanv can be queried far simpler with glIsEnabled().
  976.  
  977.    INPUT
  978.  
  979.    NOTES
  980.  
  981.    SEE ALSO
  982. cybergl.library/glGetClipPlane                  cybergl.library/glGetClipPlane
  983.  
  984.    NAME
  985.     glGetClipPlane
  986.  
  987.    SYNOPSIS
  988.     GLvoid glGetClipPlane(GLenum plane,GLdouble *equation);
  989.  
  990.    FUNCTION
  991.     Query the currentparameter for the specified clipping plane. You can
  992.     specify a new equation with glClipPlane().
  993.  
  994.    INPUT
  995.  
  996.    NOTES
  997.  
  998.    SEE ALSO
  999. cybergl.library/glGetDoublev                      cybergl.library/glGetDoublev
  1000.  
  1001.    NAME
  1002.     glGetDoublev
  1003.  
  1004.    SYNOPSIS
  1005.     GLvoid glGetDoublev(GLenum pname,GLdouble *params);
  1006.  
  1007.    FUNCTION
  1008.     Can be used to query the CyberGL-state similar to glGetBooleanv() ,
  1009.     glGetFloatv() and glGetIntegerv(). It returns the data in double
  1010.     precision floating point format.
  1011.  
  1012.    INPUT
  1013.  
  1014.    NOTES
  1015.  
  1016.    SEE ALSO
  1017. cybergl.library/glGetError                          cybergl.library/glGetError
  1018.  
  1019.    NAME
  1020.     glGetError - return the current error state
  1021.  
  1022.    SYNOPSIS
  1023.     error = glGetError();
  1024.  
  1025.     GLenum glGetError(GLvoid);
  1026.  
  1027.    FUNCTION
  1028.     Returns the current error state and resets it.
  1029.  
  1030.    INPUT
  1031.  
  1032.    RETURN
  1033.     error - returns a constant specifying the error state
  1034.         Possible return values are:
  1035.  
  1036.         GL_NO_ERROR
  1037.          There was no error
  1038.         GL_INVALID_ENUM
  1039.          invalid number specified
  1040.         GL_INVALID_VALUE
  1041.          numeric parameter had an invalid value
  1042.         GL_INVALID_OPERATION
  1043.          invalid operation executed
  1044.         GL_STACK_OVERFLOW
  1045.          the called function would lead to a stack overflow
  1046.         GL_STACK_UNDERFLOW
  1047.          caller tried to read from an empty stack
  1048.         GL_OUT_OF_MEMORY
  1049.          system does not have enough memory to execute this
  1050.          call
  1051.  
  1052.    NOTES
  1053.  
  1054.    SEE ALSO
  1055. cybergl.library/glGetFloatv                        cybergl.library/glGetFloatv
  1056.  
  1057.    NAME
  1058.     glGetFloatv
  1059.  
  1060.    SYNOPSIS
  1061.     GLvoid glGetFloatv(GLenum pname,GLfloat *params);
  1062.  
  1063.    FUNCTION
  1064.     Can be used to query the CyberGL-state similar to glGetBooleanv() ,
  1065.     glGetDoublev() and glGetIntegerv(). It returns the data in simple
  1066.     precision floating point format.
  1067.  
  1068.    INPUT
  1069.  
  1070.    NOTES
  1071.  
  1072.    SEE ALSO
  1073. cybergl.library/glGetIntegerv                    cybergl.library/glGetIntegerv
  1074.  
  1075.    NAME
  1076.     glGetIntegerv
  1077.  
  1078.    SYNOPSIS
  1079.     GLvoid glGetIntegerv(GLenum pname,GLint *params);
  1080.  
  1081.    FUNCTION
  1082.     Can be used to query the CyberGL-state similar to glGetBooleanv() ,
  1083.     glGetDoublev() and glGetFloatv(). It returns the data in integer
  1084.     format.
  1085.  
  1086.    INPUT
  1087.  
  1088.    NOTES
  1089.  
  1090.    SEE ALSO
  1091. cybergl.library/glGetLight                          cybergl.library/glGetLight
  1092.  
  1093.    NAME
  1094.     glGetLight
  1095.  
  1096.    SYNOPSIS
  1097.     GLvoid glGetLight{i f}v(GLenum light,GLenum pname,TYPE *params);
  1098.  
  1099.    FUNCTION
  1100.     Get the light source parameters of a specified light source.
  1101.  
  1102.    INPUT
  1103.  
  1104.    NOTES
  1105.  
  1106.    SEE ALSO
  1107. cybergl.library/glGetMaterial                    cybergl.library/glGetMaterial
  1108.  
  1109.    NAME
  1110.     glGetMaterial
  1111.  
  1112.    SYNOPSIS
  1113.     GLvoid glGetMaterial{i f}v(GLenum face,GLenum pname, TYPE *params);
  1114.  
  1115.    FUNCTION
  1116.     Get the current material parameters for front and back faces
  1117.     respectively.
  1118.  
  1119.    INPUT
  1120.  
  1121.    NOTES
  1122.  
  1123.    SEE ALSO
  1124. cybergl.library/glGetPixelMap                       cybergl.library/glPixelMap
  1125.  
  1126.    NAME
  1127.     glGetPixelMap
  1128.  
  1129.    SYNOPSIS
  1130.     GLvoid glGetPixelMap{ui us f}v(GLenum map,TYPE *values);
  1131.  
  1132.    FUNCTION
  1133.     Get the translation table set by glPixelMap() to translate pixelmaps.
  1134.     This tables affect calls like glDrawPixels.
  1135.  
  1136.    INPUT
  1137.  
  1138.    NOTES
  1139.  
  1140.    SEE ALSO
  1141. cybergl.library/glGetString                        cybergl.library/glGetString
  1142.  
  1143.    NAME
  1144.     glGetString - Get implementation specific information
  1145.  
  1146.    SYNOPSIS
  1147.     string = glGetString(name);
  1148.  
  1149.     GLubyte *glGetString(GLenum name);
  1150.  
  1151.    FUNCTION
  1152.     Get implementation specific information: the manufacturer, the
  1153.     platform, the version and the extensions to CyberGL.
  1154.  
  1155.    INPUT
  1156.     name - specifies which information string should be returned
  1157.         Possible values are:
  1158.         
  1159.         GL_VENDOR
  1160.          return the vendor or the responsible company respectively
  1161.          This is "phase 5 digital products / Frank Gerberding"
  1162.          for v39 and v40 of the library
  1163.         GL_RENDERER
  1164.          return the configuration, always "Amiga" currently
  1165.         GL_VERSION
  1166.          return version and release numbers
  1167.         GL_EXTENSIONS
  1168.          return a list of extensions. For cybergl.library V39 and V40,
  1169.          it returns 
  1170.          "glProject glUnProject glPickMatrix glLookAt glPerspective"
  1171.          currently, since the cybergl.library implements a small
  1172.          function subset of the GL utility library which simplify
  1173.          transformations.
  1174.         
  1175.    RETURN
  1176.     constant string pointer which contains the requested information
  1177.  
  1178.    NOTES
  1179.  
  1180.    SEE ALSO
  1181. cybergl.library/glGetTexEnv                        cybergl.library/glGetTexEnv
  1182.  
  1183.    NAME
  1184.     glGetTexEnv
  1185.  
  1186.    SYNOPSIS
  1187.     GLvoid glGetTexEnv{f i}v(GLenum target, GLenum pname, 
  1188.                              TYPE *params);
  1189.  
  1190.    FUNCTION
  1191.     Get the environment parameters for textures. This parameters are used
  1192.     to define the final colours for fragments.
  1193.  
  1194.    INPUT
  1195.  
  1196.    NOTES
  1197.  
  1198.    SEE ALSO
  1199. cybergl.library/glGetTexGen                        cybergl.library/glGetTexGen
  1200.  
  1201.    NAME
  1202.     glGetTexGen
  1203.  
  1204.    SYNOPSIS
  1205.     GLvoid glGetTexGen{d f i}v(GLenum coord, GLenum pname, 
  1206.                                TYPE *params);
  1207.  
  1208.    FUNCTION
  1209.     Get the texture parameters that are used to generate texture
  1210.     coordinates automatically for the specified component.
  1211.  
  1212.    INPUT
  1213.  
  1214.    NOTES
  1215.  
  1216.    SEE ALSO
  1217. cybergl.library/glGetTexImage                    cybergl.library/glGetTexImage
  1218.  
  1219.    NAME
  1220.     glGetTexImage
  1221.  
  1222.    SYNOPSIS
  1223.     glGetTexImage(GLenum target, GLenum level, GLenum format, GLenum type,
  1224.                   GLvoid *pixels);
  1225.  
  1226.    FUNCTION
  1227.     Returns the texture level of the dimension specified by target and level
  1228.     in the given format.
  1229.  
  1230.    INPUT
  1231.  
  1232.    NOTES
  1233.  
  1234.    SEE ALSO
  1235. cybergl.library/glGetTexLevelParameter  cybergl.library/glGetTexLevelParameter
  1236.  
  1237.    NAME
  1238.     glGetTexLevelParameter
  1239.  
  1240.    SYNOPSIS
  1241.     glGetTexLevelParameter{f i}v(GLenum target, GLenum level, 
  1242.                                  GLenum pname, TYPE *params);
  1243.  
  1244.    FUNCTION
  1245.     Query the parameters of a certain texture level, e.g. the extension of 
  1246.     it and its format.
  1247.  
  1248.    INPUT
  1249.  
  1250.    NOTES
  1251.  
  1252.    SEE ALSO
  1253. cybergl.library/glGetTexParameter            cybergl.library/glGetTexParameter
  1254.  
  1255.    NAME
  1256.     glGetTexParameter
  1257.  
  1258.    SYNOPSIS
  1259.     glGetTexParameter{f i}v(GLenum target, GLenum pname, TYPE *params);
  1260.  
  1261.    FUNCTION
  1262.     Query the parameters of a texture, e.g. the function to resize a
  1263.     texture or how the texture is continued.
  1264.  
  1265.    INPUT
  1266.  
  1267.    NOTES
  1268.  
  1269.    SEE ALSO
  1270. cybergl.library/glHint                                  cybergl.library/glHint
  1271.  
  1272.    NAME
  1273.     glHint
  1274.  
  1275.    SYNOPSIS
  1276.     GLvoid glHint(GLenum target, GLenum mode);
  1277.  
  1278.    FUNCTION
  1279.     Define how certain calculation should be done. You can define certain
  1280.     aspects such like quality of calculations with that function.
  1281.  
  1282.    INPUT
  1283.  
  1284.    NOTES
  1285.  
  1286.    SEE ALSO
  1287. cybergl.library/glIndex                                cybergl.library/glIndex
  1288.  
  1289.    NAME
  1290.     glIndex
  1291.  
  1292.    SYNOPSIS
  1293.     GLvoid glIndex{s i f d}(TYPE index);
  1294.  
  1295.     GLvoid glIndex{s i f d}v(const TYPE *v);
  1296.  
  1297.    FUNCTION
  1298.     Set the current colourindex to the specified value.
  1299.  
  1300.    INPUT
  1301.  
  1302.    NOTES
  1303.  
  1304.    SEE ALSO
  1305. cybergl.library/glInitNames                        cybergl.library/glInitNames
  1306.  
  1307.    NAME
  1308.     glInitNames
  1309.  
  1310.    SYNOPSIS
  1311.     GLvoid glInitNames(GLvoid);
  1312.  
  1313.    FUNCTION
  1314.     Initialize the stack that manages selectable units in selection
  1315.     mode.
  1316.  
  1317.    INPUT
  1318.  
  1319.    NOTES
  1320.  
  1321.    SEE ALSO
  1322. cybergl.library/glIsEnabled                        cybergl.library/glIsEnabled
  1323.  
  1324.    NAME
  1325.     glIsEnabled
  1326.  
  1327.    SYNOPSIS
  1328.     GLboolean  glIsEnabled(GLenum cap);
  1329.  
  1330.    FUNCTION
  1331.     Query the available abilities of CyberGL. The return value specifies
  1332.     whether the capability "cap" is available (TRUE) or not (FALSE).
  1333.  
  1334.    INPUT
  1335.  
  1336.    NOTES
  1337.  
  1338.    SEE ALSO
  1339. cybergl.library/glLight                                cybergl.library/glLight
  1340.  
  1341.    NAME
  1342.     glLight
  1343.  
  1344.    SYNOPSIS
  1345.     GLvoid glLight{i f}(GLenum light,GLenum pname, TYPE param);
  1346.  
  1347.     GLvoid glLight{i f}v(GLenum light,GLenum pname,const TYPE *params);
  1348.  
  1349.    FUNCTION
  1350.     Define the light source parameters such as the ambient, diffuse and
  1351.     reflecting part, the position, direction and diverse softening 
  1352.     parameters
  1353.  
  1354.    INPUT
  1355.  
  1356.    NOTES
  1357.  
  1358.    SEE ALSO
  1359. cybergl.library/glLightModel                      cybergl.library/glLightModel
  1360.  
  1361.    NAME
  1362.     glLightModel
  1363.  
  1364.    SYNOPSIS
  1365.     GLvoid glLightModel{i f}(GLenum pname, TYPE param);
  1366.  
  1367.     GLvoid glLightModel{i f}v(GLenum pname,const TYPE *params);
  1368.  
  1369.    FUNCTION
  1370.     Define the global parameters used in the light calculation. This
  1371.     affects the global ambient part, the computation of the view vector
  1372.     and the light computation for polygons with front and back face.
  1373.  
  1374.    INPUT
  1375.  
  1376.    NOTES
  1377.  
  1378.    SEE ALSO
  1379. cybergl.library/glLoadIdentity                  cybergl.library/glLoadIdentity
  1380.  
  1381.    NAME
  1382.     glLoadIdentity - Replace the current matrix by a uniform matrix
  1383.  
  1384.    SYNOPSIS
  1385.     glLoadIdentity()
  1386.  
  1387.     GLvoid glLoadIdentity(GLvoid);
  1388.  
  1389.    FUNCTION
  1390.     Replace the current matrix by a uniform matrix. The uniform matrix
  1391.     looks like this:
  1392.  
  1393.             { 1 0 0 0 }
  1394.             {         }
  1395.             { 0 1 0 0 }
  1396.         E = {         }
  1397.             { 0 0 1 0 }
  1398.             {         }
  1399.             { 0 0 0 1 }
  1400.  
  1401.    INPUT
  1402.  
  1403.    NOTES
  1404.  
  1405.    SEE ALSO
  1406. cybergl.library/glLoadMatrix                      cybergl.library/glLoadMatrix
  1407.  
  1408.    NAME
  1409.     glLoadMatrix - Replace the current matrix by the specified one
  1410.  
  1411.    SYNOPSIS
  1412.     glLoadMatrix(m)
  1413.  
  1414.     GLvoid glLoadMatrix{f d}(const TYPE *m);
  1415.  
  1416.    FUNCTION
  1417.     Replace the current matrix by the specified one. The matrix
  1418.     looks like this:
  1419.  
  1420.             { m00 m04 m08 m12 }
  1421.             {                 }
  1422.             { m01 m05 m09 m13 }
  1423.         M = {                 }
  1424.             { m02 m06 m10 m14 }
  1425.             {                 }
  1426.             { m03 m07 m11 m15 }
  1427.  
  1428.    INPUT
  1429.     m - pointer to a matrix
  1430.  
  1431.    NOTES
  1432.  
  1433.    SEE ALSO
  1434. cybergl.library/glLoadName                          cybergl.library/glLoadName
  1435.  
  1436.    NAME
  1437.     glLoadName
  1438.  
  1439.    SYNOPSIS
  1440.     GLvoid glLoadName(GLuint name);
  1441.  
  1442.    FUNCTION
  1443.     Replace the top element on the stack for the management of names in
  1444.     selection mode.
  1445.  
  1446.    INPUT
  1447.  
  1448.    NOTES
  1449.  
  1450.    SEE ALSO
  1451. cybergl.library/glMaterial                          cybergl.library/glMaterial
  1452.  
  1453.    NAME
  1454.     glMaterial
  1455.  
  1456.    SYNOPSIS
  1457.     GLvoid glMaterial{f i}(GLenum face, GLenum pname, TYPE param);
  1458.  
  1459.     GLvoid glMaterial{f i}v(GLenum face, GLenum pname, const TYPE *params);
  1460.  
  1461.    FUNCTION
  1462.     Define the material parameters for front faces, back faces or both.
  1463.  
  1464.    INPUT
  1465.     face - either GL_FRONT, GL_BACK or GL_FRONT_AND_BACK
  1466.  
  1467.     pname - specifies which material parameter is to be set. In the non
  1468.         vectorial form, you can only specify GL_SHININESS. The
  1469.         parameters can be:
  1470.         GL_AMBIENT
  1471.          ambient reflected color (default 0.2,0.2,0.2,1.0)
  1472.         GL_DIFFUSE
  1473.          diffuse reflected color (default 0.8,0.8,0.8,1.0)
  1474.         GL_SPECULAR
  1475.          specular reflected color (default 0.0,0.0,0.0,1.0)
  1476.         GL_EMISSION
  1477.          emmision color of surface (default 0.0,0.0,0.0,1.0)
  1478.         GL_SHININESS
  1479.          luminance coefficient (default 0.0)
  1480.         GL_AMBIENT_AND_DIFFUSE
  1481.          both ambient and diffuse color (see above)
  1482.         GL_COLOR_INDEXES
  1483.          indexes of the ambient, diffuse and specular color (0,1,1)
  1484.         
  1485.    NOTES
  1486.  
  1487.    SEE ALSO
  1488. cybergl.library/glMatrixMode                      cybergl.library/glMatrixMode
  1489.  
  1490.    NAME
  1491.     glMatrixMode
  1492.  
  1493.    SYNOPSIS
  1494.     glMatrixMode(mode);
  1495.  
  1496.     GLvoid glMatrixMode(GLenum mode);
  1497.  
  1498.    FUNCTION
  1499.     Set the current matrix mode and specify the destination of following
  1500.     matrix operations. modes are modelview matrix (GL_MODELVIEW) and
  1501.     perspective matrix (GL_PROJECTION).
  1502.  
  1503.    INPUT
  1504.     mode - either GL_MODELVIEW or GL_PROJECTION.
  1505.  
  1506.    NOTES
  1507.     mode GL_TEXTURE is not implemented yet
  1508.  
  1509.    SEE ALSO
  1510. cybergl.library/glMultMatrix                      cybergl.library/glMultMatrix
  1511.  
  1512.    NAME
  1513.     glMultMatrix
  1514.  
  1515.    SYNOPSIS
  1516.     GLvoid glMultMatrix{f d}(const TYPE* m);
  1517.  
  1518.    FUNCTION
  1519.     Multiply the current matrix with the specified one.
  1520.  
  1521.    INPUT
  1522.  
  1523.    NOTES
  1524.  
  1525.    SEE ALSO
  1526. cybergl.library/glNormal3                            cybergl.library/glNormal3
  1527.  
  1528.    NAME
  1529.     glNormal3
  1530.  
  1531.    SYNOPSIS
  1532.     glNormal3{b s i f d}(TYPE nx, TYPE ny, TYPE nz);
  1533.  
  1534.     glNormal3{b s i f d}v(const TYPE *v);
  1535.  
  1536.    FUNCTION
  1537.     Set the current normal vector to the specified value. The vector does
  1538.     not need to have a normalized length and will only be transformed to
  1539.     a normalized length after the transformation if standardization is
  1540.     activated.
  1541.  
  1542.    INPUT
  1543.  
  1544.    NOTES
  1545.  
  1546.    SEE ALSO
  1547. cybergl.library/glOrtho                                cybergl.library/glOrtho
  1548.  
  1549.    NAME
  1550.     glOrtho
  1551.  
  1552.    SYNOPSIS
  1553.     GLvoid     glOrtho(GLdouble left,  GLdouble right, GLdouble bottom,
  1554.                        GLdouble top, GLdouble zNear, GLdouble zFar);
  1555.    FUNCTION
  1556.     Multiply the current matrix with the specified matrix for parallel
  1557.     projection.
  1558.  
  1559.    INPUT
  1560.  
  1561.    NOTES
  1562.  
  1563.    SEE ALSO
  1564. cybergl.library/glPixelMap                          cybergl.library/glPixelMap
  1565.  
  1566.    NAME
  1567.     glPixelMap
  1568.  
  1569.    SYNOPSIS
  1570.     GLvoid glPixelMap{ui us f}v(GLenum map,GLint mapsize, const TYPE *values);
  1571.  
  1572.    FUNCTION
  1573.     Defines the translation table that is used for glDrawPixels() and when
  1574.     specifying textures.
  1575.  
  1576.    INPUT
  1577.  
  1578.    NOTES
  1579.  
  1580.    SEE ALSO
  1581. cybergl.library/glPixelStore                      cybergl.library/glPixelStore
  1582.  
  1583.    NAME
  1584.     glPixelStore
  1585.  
  1586.    SYNOPSIS
  1587.     GLvoid glPixelStore{f i}(GLenum pname,TYPE param);
  1588.  
  1589.    FUNCTION
  1590.     Define the current pixel store mode when reading or writing pixel
  1591.     maps.
  1592.  
  1593.    INPUT
  1594.  
  1595.    NOTES
  1596.  
  1597.    SEE ALSO
  1598. cybergl.library/glPixelTransfer                cybergl.library/glPixelTransfer
  1599.  
  1600.    NAME
  1601.     glPixelTransfer
  1602.  
  1603.    SYNOPSIS
  1604.     GLvoid glPixelTransfer{i f}(GLenum pname,TYPE param);
  1605.  
  1606.    FUNCTION
  1607.     Define the parameters of the pixel transfer mode when reading or
  1608.     writing pixelmaps.
  1609.  
  1610.    INPUT
  1611.  
  1612.    NOTES
  1613.  
  1614.    SEE ALSO
  1615. cybergl.library/glPixelZoom                        cybergl.library/glPixelZoom
  1616.  
  1617.    NAME
  1618.     glPixelZoom
  1619.  
  1620.    SYNOPSIS
  1621.     GLvoid glPixelZoom(GLfloat xfactor, GLfloat yfactor);
  1622.  
  1623.    FUNCTION
  1624.     Define the scaling factor for the display of pixelmaps.
  1625.  
  1626.    INPUT
  1627.  
  1628.    NOTES
  1629.  
  1630.    SEE ALSO
  1631. cybergl.library/glPolygonMode                    cybergl.library/glPolygonMode
  1632.  
  1633.    NAME
  1634.     glPolygonMode
  1635.  
  1636.    SYNOPSIS
  1637.     GLvoid glPolygonMode(GLenum face, GLenum mode);
  1638.  
  1639.    FUNCTION
  1640.     Define the raster mode for polygons. Depending on glEdgeFlag() the
  1641.     polygons are rendered as points, as wire frame or filled.
  1642.  
  1643.    INPUT
  1644.  
  1645.    NOTES
  1646.  
  1647.    SEE ALSO
  1648. cybergl.library/glPopAttrib                        cybergl.library/glPopAttrib
  1649.  
  1650.    NAME
  1651.     glPopAttrib - Get the stored groups of state variables from the
  1652.         attribute stack.
  1653.  
  1654.    SYNOPSIS
  1655.     glPopAttrib();
  1656.  
  1657.     GLvoid glPopAttrib(GLvoid);
  1658.  
  1659.    FUNCTION
  1660.     Get the stored groups of state variables from the attribute stack.
  1661.     The current values are replaced if affected.
  1662.  
  1663.    INPUT
  1664.  
  1665.    NOTES
  1666.  
  1667.    SEE ALSO
  1668.     glPushAttrib()
  1669. cybergl.library/glPopMatrix                        cybergl.library/glPopMatrix
  1670.  
  1671.    NAME
  1672.     glPopMatrix
  1673.  
  1674.    SYNOPSIS
  1675.     GLvoid glPopMatrix(GLvoid);
  1676.  
  1677.    FUNCTION
  1678.     Replace the current matrix by the previous matrix on the current
  1679.     stack.
  1680.  
  1681.    INPUT
  1682.  
  1683.    NOTES
  1684.  
  1685.    SEE ALSO
  1686. cybergl.library/glPopName                            cybergl.library/glPopName
  1687.  
  1688.    NAME
  1689.     glPopName
  1690.  
  1691.    SYNOPSIS
  1692.     GLvoid glPopName();
  1693.  
  1694.    FUNCTION
  1695.     Delete the top element of the namestack in selection mode.
  1696.  
  1697.    INPUT
  1698.  
  1699.    NOTES
  1700.  
  1701.    SEE ALSO
  1702. cybergl.library/glPushAttrib                      cybergl.library/glPushAttrib
  1703.  
  1704.    NAME
  1705.     glPushAttrib
  1706.  
  1707.    SYNOPSIS    
  1708.     glPushAttrib(mask);
  1709.  
  1710.     GLvoid glPushAttrib(GLbitfield mask);
  1711.  
  1712.    FUNCTION
  1713.     Store the groups of state variables of CyberGL specified by the mask
  1714.     bitfield on the attribute stack. Not all state variables can be
  1715.     stored. 
  1716.  
  1717.    INPUT
  1718.     mask - specifies which attribute groups are stored. If not all
  1719.         attribute groups should be stored using GL_ALL_ATTRIB_BITS,
  1720.         single groups need to be ORed. Attribute groups are:
  1721.  
  1722.         GL_ACCUM_BUFFER_BIT
  1723.          accumulation buffer
  1724.         GL_COLOR_BUFFER_BIT
  1725.          color buffer
  1726.         GL_CURRENT_BIT
  1727.          current values
  1728.         GL_DEPTH_BUFFER_BIT
  1729.          depth buffer
  1730.         GL_ENABLE_BIT
  1731.          enable/disable states
  1732.         GL_EVAL_BIT
  1733.          evaluators
  1734.         GL_FOG_BIT
  1735.          fog           
  1736.         GL_HINT_BIT
  1737.          execution hints
  1738.         GL_LIGHTING_BIT
  1739.          lighting      
  1740.         GL_LINE_BIT
  1741.          display of lines
  1742.         GL_LIST_BIT
  1743.          display list           
  1744.         GL_PIXEL_MODE_BIT
  1745.          display of bitmaps
  1746.         GL_POINT_BIT
  1747.          display of points   
  1748.         GL_POLYGON_BIT
  1749.          display of polygons        
  1750.         GL_POLYGON_STIPPLE_BIT
  1751.          display of stippled polygons
  1752.         GL_SCISSOR_BIT
  1753.          scissors
  1754.         GL_STENCIL_BUFFER_BIT
  1755.          stencil buffer
  1756.         GL_TEXTURE_BIT
  1757.          texturing       
  1758.         GL_TRANSFORM_BIT
  1759.          transformation and clipping
  1760.         GL_VIEWPORT_BIT
  1761.          viewport area
  1762.          
  1763.    NOTES
  1764.  
  1765.    SEE ALSO
  1766.     glPopAttrib()
  1767. cybergl.library/glPushMatrix                      cybergl.library/glPushMatrix
  1768.  
  1769.    NAME
  1770.     glPushMatrix
  1771.  
  1772.    SYNOPSIS
  1773.     GLvoid glPushMatrix(GLvoid);
  1774.  
  1775.    FUNCTION
  1776.     Duplicate the current matrix and put it on top of the current stack
  1777.  
  1778.    INPUT
  1779.  
  1780.    NOTES
  1781.  
  1782.    SEE ALSO
  1783. cybergl.library/glPushName                          cybergl.library/glPushName
  1784.  
  1785.    NAME
  1786.     glPushName
  1787.  
  1788.    SYNOPSIS
  1789.     glPushName(GLuint name);
  1790.  
  1791.    FUNCTION
  1792.     Save the specified name on top of the namestack in selection mode.
  1793.  
  1794.    INPUT
  1795.  
  1796.    NOTES
  1797.  
  1798.    SEE ALSO
  1799. cybergl.library/glRasterPos2                      cybergl.library/glRasterPos2
  1800.  
  1801.    NAME
  1802.     glRasterPos2
  1803.  
  1804.    SYNOPSIS
  1805.     glRasterPos2{s i f d}(TYPE x, TYPE y);
  1806.  
  1807.     glRasterPos2{s i f d}v(const TYPE *v);
  1808.  
  1809.    FUNCTION
  1810.     Set the current raster position by specifying its object coordinates.
  1811.     w is set to 1, z is set to 0 by default.
  1812.  
  1813.    INPUT
  1814.  
  1815.    NOTES
  1816.  
  1817.    SEE ALSO
  1818. cybergl.library/glRasterPos3                      cybergl.library/glRasterPos3
  1819.  
  1820.    NAME
  1821.     glRasterPos3
  1822.  
  1823.    SYNOPSIS
  1824.     glRasterPos3{s i f d}(TYPE x, TYPE y, TYPE z);
  1825.  
  1826.     glRasterPos3{s i f d}v(const TYPE *v);
  1827.  
  1828.    FUNCTION
  1829.     Set the current raster position by specifying its object coordinates.
  1830.     w is set to 1 by default.
  1831.  
  1832.    INPUT
  1833.  
  1834.    NOTES
  1835.  
  1836.    SEE ALSO
  1837. cybergl.library/glRasterPos4                      cybergl.library/glRasterPos4
  1838.  
  1839.    NAME
  1840.     glRasterPos4
  1841.  
  1842.    SYNOPSIS
  1843.     glRasterPos4{s i f d}(TYPE x, TYPE y, TYPE z, TYPE w);
  1844.  
  1845.     glRasterPos4{s i f d}v(const TYPE *v);
  1846.  
  1847.    FUNCTION
  1848.     Set the current raster position by specifying object coordinates.
  1849.  
  1850.    INPUT
  1851.  
  1852.    NOTES
  1853.  
  1854.    SEE ALSO
  1855. cybergl.library/glRect                                  cybergl.library/glRect
  1856.  
  1857.    NAME
  1858.     glRect
  1859.  
  1860.    SYNOPSIS
  1861.     glRect{s i f d}(TYPE x1, TYPE y1, TYPE x2, TYPE y2);
  1862.  
  1863.     glRect{s i f d}v(const TYPE *v1, const TYPE *v2);
  1864.  
  1865.    FUNCTION
  1866.     Define a rectangle by specifying two points. It is rendered at z-level
  1867.     0
  1868.  
  1869.    INPUT
  1870.  
  1871.    NOTES
  1872.  
  1873. cybergl.library/glRenderMode                       cybergl.library/glRenderMode
  1874.  
  1875.    NAME
  1876.     glRenderMode
  1877.  
  1878.    SYNOPSIS
  1879.     glRenderMode(GLenum mode);
  1880.  
  1881.    FUNCTION
  1882.     Define the rendering mode by selecting one of the three available 
  1883.     modes: GL_RENDER, GL_SELECT or GL_FEEDBACK.
  1884.  
  1885.    INPUT
  1886.  
  1887.    NOTES
  1888.  
  1889.    SEE ALSO
  1890. cybergl.library/glRotate                              cybergl.library/glRotate
  1891.  
  1892.    NAME
  1893.     glRotate
  1894.  
  1895.    SYNOPSIS
  1896.     glRotate{f d}(TYPE angle, TYPE x, TYPE y, TYPE z);
  1897.  
  1898.    FUNCTION
  1899.     Multiply the current matrix with the given rotation matrix. It is
  1900.     defined by anti-clockwise rotation (mathematically positive) around
  1901.     the axis from the origin through the specified point.
  1902.  
  1903.    INPUT
  1904.  
  1905.    NOTES
  1906.  
  1907.    SEE ALSO
  1908. cybergl.library/glScale                                cybergl.library/glScale
  1909.  
  1910.    NAME
  1911.     glScale
  1912.  
  1913.    SYNOPSIS
  1914.     glScale{f d}(TYPE x, TYPE y, TYPE z);
  1915.  
  1916.    FUNCTION
  1917.     Multiply the current matrix with the given scaling matrix. It is
  1918.     defined by scaling with the the specified factors x,y and z.
  1919.  
  1920.    INPUT
  1921.  
  1922.    NOTES
  1923.  
  1924.    SEE ALSO
  1925. cybergl.library/glSelectBuffer                  cybergl.library/glSelectBuffer
  1926.  
  1927.    NAME
  1928.     glSelectBuffer
  1929.  
  1930.    SYNOPSIS
  1931.     glSelectBuffer(GLsizei size, GLuint *buffer);
  1932.  
  1933.    FUNCTION
  1934.     You can pass a buffer for selection information with that function.
  1935.     For every defined event of the selection mode, the buffer will be
  1936.     updated with the current state of the namestack and additional
  1937.     information, e.g. depth area.
  1938.  
  1939.    INPUT
  1940.  
  1941.    NOTES
  1942.  
  1943.    SEE ALSO
  1944. cybergl.library/glShadeModel                      cybergl.library/glShadeModel
  1945.  
  1946.    NAME
  1947.     glShadeModel
  1948.  
  1949.    SYNOPSIS
  1950.     glShadeModel(GLenum mode);
  1951.  
  1952.    FUNCTION
  1953.     Sets the shading model. Possible modes are constant shading (flat
  1954.     shading) and interpolation of colour values, also known as
  1955.     gouroud shading.
  1956.  
  1957.    INPUT
  1958.  
  1959.    NOTES
  1960.  
  1961.    SEE ALSO
  1962. cybergl.library/glTexCoord1                        cybergl.library/glTexCoord1
  1963.  
  1964.    NAME
  1965.     glTexCoord1
  1966.  
  1967.    SYNOPSIS
  1968.     glTexCoord1{d f i s}(TYPE s);
  1969.  
  1970.    FUNCTION
  1971.     Modify the current texture coordinate which is associated with the
  1972.     points of polygons. The q value is set to 1, the r and t value is
  1973.     set to 0 by default.
  1974.  
  1975.    INPUT
  1976.  
  1977.    NOTES
  1978.  
  1979.    SEE ALSO
  1980. cybergl.library/glTexCoord2                        cybergl.library/glTexCoord2
  1981.  
  1982.    NAME
  1983.     glTexCoord2
  1984.  
  1985.    SYNOPSIS
  1986.     glTexCoord2{d f i s}(TYPE s, TYPE t);
  1987.  
  1988.    FUNCTION
  1989.     Modify the current texture coordinate which is associated with the
  1990.     points of polygons. The q value is set to 1, the r value is set to 0
  1991.     by default.
  1992.  
  1993.    INPUT
  1994.  
  1995.    NOTES
  1996.  
  1997.    SEE ALSO
  1998. cybergl.library/glTexCoord3                        cybergl.library/glTexCoord3
  1999.  
  2000.    NAME
  2001.     glTexCoord3
  2002.  
  2003.    SYNOPSIS
  2004.     glTexCoord3{d f i s}(TYPE s, TYPE t, TYPE r);
  2005.  
  2006.    FUNCTION
  2007.     Modify the current texture coordinate which is associated with the
  2008.     points of polygons. The q value is set to 1 by default.
  2009.  
  2010.    INPUT
  2011.  
  2012.    NOTES
  2013.  
  2014.    SEE ALSO
  2015. cybergl.library/glTexCoord4                        cybergl.library/glTexCoord4
  2016.  
  2017.    NAME
  2018.     glTexCoord4
  2019.  
  2020.    SYNOPSIS
  2021.     glTexCoord4{d f i s}(TYPE s, TYPE t, TYPE r, TYPE q);
  2022.  
  2023.    FUNCTION
  2024.     Modify the current texture coordinate which is associated with the
  2025.     points of polygons.
  2026.  
  2027.    INPUT
  2028.  
  2029.    NOTES
  2030.  
  2031.    SEE ALSO
  2032. cybergl.library/glTexEnv                              cybergl.library/glTexEnv
  2033.  
  2034.    NAME
  2035.     glTexEnv
  2036.  
  2037.    SYNOPSIS
  2038.     GLvoid glTexEnv{f i}(GLenum target, GLenum pname, TYPE param);
  2039.  
  2040.     GLvoid glTexEnv{f i}v(GLenum target, GLenum pname, 
  2041.                           const TYPE *param);
  2042.  
  2043.    FUNCTION
  2044.     Set the environment parameters for textures. The call influences the
  2045.     way how the fragment colour is computed based on the already computed
  2046.     and texture colour.
  2047.  
  2048.    INPUT
  2049.  
  2050.    NOTES
  2051.  
  2052.    SEE ALSO
  2053. cybergl.library/glTexGen                              cybergl.library/glTexGen
  2054.  
  2055.    NAME
  2056.     glTexGen
  2057.  
  2058.    SYNOPSIS
  2059.     GLvoid glTexGen{d f i}(GLenum coord, GLenum pname, TYPE param);
  2060.  
  2061.     GLvoid glTexGen{d f i}v(GLenum coord, GLenum pname, 
  2062.                             const TYPE *param);
  2063.  
  2064.    FUNCTION
  2065.     Set the way, how texture coordinates are computed automatically. This
  2066.     can be linear combination of object coordiantes or linear combination
  2067.     of viewpoint coordiantes.
  2068.  
  2069.    INPUT
  2070.  
  2071.    NOTES
  2072.  
  2073.    SEE ALSO
  2074. cybergl.library/glTexImage1D                      cybergl.library/glTexImage1D
  2075.  
  2076.    NAME
  2077.     glTexImage1D
  2078.  
  2079.    SYNOPSIS
  2080.     GLvoid glTexImage1D(GLenum target, GLint level, GLint components,
  2081.                         GLsizei width, GLint border, GLenum format,
  2082.                         GLenum type, const GLvoid *pixels);
  2083.  
  2084.    FUNCTION
  2085.     Define a one dimensional texture by texture level, width, format and
  2086.     actual texture data
  2087.  
  2088.    INPUT
  2089.  
  2090.    NOTES
  2091.  
  2092.    SEE ALSO
  2093. cybergl.library/glTexImage2D                      cybergl.library/glTexImage2D
  2094.  
  2095.    NAME
  2096.     glTexImage2D
  2097.  
  2098.    SYNOPSIS
  2099.     GLvoid glTexImage2D(GLenum target, GLint level, GLint components,
  2100.                         GLsizei width, GLsizei height, GLint border,
  2101.                         GLenum format, GLenum type, const GLvoid *pixels);
  2102.  
  2103.    FUNCTION
  2104.     Define a 2d texture by texture level, width, height, format and actual
  2105.     texture data
  2106.  
  2107.    INPUT
  2108.  
  2109.    NOTES
  2110.  
  2111.    SEE ALSO
  2112. cybergl.library/glTexParameter                  cybergl.library/glTexParameter
  2113.  
  2114.    NAME
  2115.     glTexParameter
  2116.  
  2117.    SYNOPSIS
  2118.     glTexParameter{f i}(GLenum target, GLenum pname, TYPE param);
  2119.  
  2120.     glTexParameter{f i}v(GLenum target, GLenum pname, const TYPE param);
  2121.  
  2122.    FUNCTION
  2123.     Set the parameters for surface texturing.
  2124.  
  2125.    INPUT
  2126.  
  2127.    NOTES
  2128.  
  2129.    SEE ALSO
  2130. cybergl.library/glTranslate                        cybergl.library/glTranslate
  2131.  
  2132.    NAME
  2133.     glTranslate
  2134.  
  2135.    SYNOPSIS
  2136.     glTranslate{f d}(TYPE x, TYPE y, TYPE z);
  2137.  
  2138.    FUNCTION
  2139.     Multiply the current matrix with the given translation matrix. It is
  2140.     computed by translation of the given vector coordinates.
  2141.  
  2142.    INPUT
  2143.  
  2144.    NOTES
  2145.  
  2146.    SEE ALSO
  2147. cybergl.library/glVertex2                            cybergl.library/glVertex2
  2148.  
  2149.    NAME
  2150.     glVertex2
  2151.  
  2152.    SYNOPSIS
  2153.     glVertex2{s i f d}{v}(TYPE x, TYPE y);
  2154.  
  2155.    FUNCTION
  2156.     Define the points of a primitive within a glBegin() and glEnd()
  2157.     context. The w-walue is defined as 1.0, the z-value is defined as 0.0
  2158.     by default. The current colour,    normal vector and texture coordinates
  2159.     are associated with this point.
  2160.  
  2161.    INPUT
  2162.  
  2163.    NOTES
  2164.  
  2165.    SEE ALSO
  2166. cybergl.library/glVertex3                            cybergl.library/glVertex3
  2167.  
  2168.    NAME
  2169.     glVertex3
  2170.  
  2171.    SYNOPSIS
  2172.     glVertex3{s i f d}{v}(TYPE x, TYPE y, TYPE z);
  2173.  
  2174.    FUNCTION
  2175.     Define the points of a primitive within a glBegin() and glEnd()
  2176.     context. The w-walue is defined as 1.0 by default. The current colour,
  2177.     normal vector and texture coordinates are associated with this point.
  2178.  
  2179.    INPUT
  2180.  
  2181.    NOTES
  2182.  
  2183.    SEE ALSO
  2184. cybergl.library/glVertex4                            cybergl.library/glVertex4
  2185.  
  2186.    NAME
  2187.     glVertex4
  2188.  
  2189.    SYNOPSIS
  2190.     glVertex4{s i f d}{v}(TYPE x, TYPE y, TYPE z, TYPE w);
  2191.  
  2192.    FUNCTION
  2193.     Define the points of a primitive within a glBegin() and glEnd()
  2194.     context. The current colour, normal vector and texture coordinates are
  2195.     associated with this point.
  2196.  
  2197.    INPUT
  2198.  
  2199.    NOTES
  2200.  
  2201.    SEE ALSO
  2202. cybergl.library/glViewPort                          cybergl.library/glViewPort
  2203.  
  2204.    NAME
  2205.     glViewPort
  2206.  
  2207.    SYNOPSIS
  2208.     glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
  2209.  
  2210.    FUNCTION
  2211.     Define the relation between normalized device and window
  2212.     coordinates for x and y.
  2213.     width and height of the displayarea are implementation specific.
  2214.  
  2215.    INPUT
  2216.  
  2217.    NOTES
  2218.  
  2219.    SEE ALSO
  2220. cybergl.library/openGLWindowTagList       cybergl.library/openGLWindowTagList
  2221.  
  2222.    NAME
  2223.     openGLWindowTagList - create a new gl window context and open an
  2224.         intuition window for display.
  2225.  
  2226.    SYNOPSIS
  2227.     glwindow = openGLWindowTagList (width,height,taglist)
  2228.                       D0     D1     A0
  2229.  
  2230.     GLvoid *openGLWindowTagList (GLint,GLint,struct TagList *)
  2231.  
  2232.    FUNCTION
  2233.     create a new gl window context and open an intuition window for
  2234.     display.
  2235.  
  2236.    INPUT
  2237.     width - requested width
  2238.  
  2239.     height - requested height
  2240.  
  2241.     taglist - taglist with additional attributes
  2242.  
  2243.    TAGS
  2244.     GLWA_RGBAMode (BOOL)
  2245.         Selects whether CyberGL renders in RGBA (TRUE) or indexed mode
  2246.         (FALSE). Defaults to TRUE.
  2247.     GLWA_OffsetX (ULONG)
  2248.         By default, the gl window render area starts at the inner top left
  2249.         border of the intuition window. You can specify an additional
  2250.         horizontal offset here.
  2251.     GLWA_OffsetY (ULONG)
  2252.         By default, the gl window render area starts at the inner top left
  2253.         border of the intuition window. You can specify an additional
  2254.         vertical offset here.
  2255.     GLWA_Error (ULONG *)
  2256.         ti_Data points to a ULONG which contains an additional error code
  2257.         if the call fails. (Not yet supported)
  2258.     GLWA_Buffered (BOOL)
  2259.         Selects whether all draw operations update the display immediately
  2260.         (FALSE) or everything is updated after a glFlush()/glFinish()
  2261.         operation (TRUE). Defaults to FALSE.
  2262.  
  2263.     The following tags are equivalent to the tags passed to
  2264.     intuition.library/OpenWindowTagList() and they are passed through to
  2265.     that function actually, so GLWA_Left equals to WA_Left for example
  2266.  
  2267.     GLWA_Left
  2268.     GLWA_Top
  2269.     GLWA_Width
  2270.     GLWA_Height
  2271.     GLWA_DetailPen
  2272.     GLWA_BlockPen
  2273.     GLWA_IDCMP
  2274.     GLWA_Flags
  2275.     GLWA_Gadgets
  2276.     GLWA_Checkmark
  2277.     GLWA_Title
  2278.     GLWA_ScreenTitle
  2279.     GLWA_CustomScreen
  2280.     GLWA_MinWidth
  2281.     GLWA_MinHeight
  2282.     GLWA_MaxWidth
  2283.     GLWA_MaxHeight
  2284.     GLWA_InnerWidth
  2285.     GLWA_InnerHeight
  2286.     GLWA_PubScreenName
  2287.     GLWA_PubScreen
  2288.     GLWA_PubScreenFallBack
  2289.     GLWA_Colors
  2290.     GLWA_Zoom
  2291.     GLWA_MouseQueue
  2292.     GLWA_BackFill
  2293.     GLWA_RptQueue
  2294.     GLWA_SizeGadget
  2295.     GLWA_DragBar
  2296.     GLWA_DepthGadget
  2297.     GLWA_CloseGadget
  2298.     GLWA_Backdrop
  2299.     GLWA_ReportMouse
  2300.     GLWA_NoCareRefresh
  2301.     GLWA_Borderless
  2302.     GLWA_Activate
  2303.     GLWA_RMBTrap
  2304.     GLWA_SimpleRefresh
  2305.     GLWA_SmartRefresh
  2306.     GLWA_SizeBRight
  2307.     GLWA_SizeBBottom
  2308.     GLWA_AutoAdjust
  2309.     GLWA_GimmeZeroZero
  2310.     GLWA_MenuHelp
  2311.     GLWA_NewLookMenus
  2312.     GLWA_AmigaKey
  2313.     GLWA_NotifyDepth
  2314.     GLWA_Pointer
  2315.     GLWA_BusyPointer
  2316.     GLWA_PointerDelay
  2317.     GLWA_TabletMessages
  2318.     GLWA_HelpGroup
  2319.     GLWA_HelpGroupWindow
  2320.  
  2321.    RETURN
  2322.     glwindow - pointer to the created glwindow context
  2323.  
  2324.    NOTES
  2325.  
  2326.    SEE ALSO
  2327.     attachGLWindowTagList(), closeGLWindow()
  2328. cybergl.library/resizeGLWindow                 cybergl.library/resizeGLWindow
  2329.  
  2330.    NAME
  2331.     resizeGLWindow -- resize the given gl window to the specified size
  2332.  
  2333.    SYNOPSIS
  2334.     resizeGLWindow(glwnd,width,height)
  2335.             A0    D0     D1
  2336.  
  2337.     GLvoid resizeGLWindow(GLvoid *,GLint,GLint)
  2338.  
  2339.    FUNCTION
  2340.     resize the given gl window to the specified size
  2341.  
  2342.    INPUT
  2343.     glwnd - pointer to the glwindow context
  2344.     width - new width
  2345.     height - new height
  2346.  
  2347.    RETURN
  2348.     None
  2349.  
  2350.    NOTES
  2351.  
  2352.    SEE ALSO
  2353. cybergl.elf/attachGLView                             cybergl.elf/attachGLView
  2354.  
  2355.    NAME
  2356.         attachGLView -- attach a glView to an existing rastport (PPC)
  2357.  
  2358.    SYNOPSIS
  2359.         glView=attachGLView(width,
  2360.                             height,
  2361.                             rp,
  2362.                             bm,
  2363.                             remaptab,
  2364.                             vtaglist)
  2365.  
  2366.         GLvoid *attachGLView(GLint,
  2367.                              GLint,
  2368.                              struct RastPort *,
  2369.                              struct BitMap   *,
  2370.                              UBYTE  *,
  2371.                              struct TagList *)
  2372.    FUNCTION
  2373.         attachGLView -- attach a glView to an existing rastport
  2374.  
  2375.    INPUT
  2376.         width    - nominal width of view
  2377.         height   - nominal height of view
  2378.         rp       - pointer to a rastport the view should be attached to
  2379.         bm       - pointer to a friendbitmap (should be rp->BitMap)
  2380.         remaptab - optional pointer to a remap table for 8bit modes
  2381.                    may be NULL for rgb modes (NOT SUPPORTED YET)
  2382.         vtaglist - optional tag list
  2383.  
  2384.    RETURN
  2385.         glView - a pointer to the GL view created
  2386.  
  2387.    NOTES
  2388.  
  2389.    SEE ALSO
  2390.         closeGLView()
  2391.         
  2392. cybergl.elf/closeGLView                               cybergl.elf/closeGLView
  2393.  
  2394.    NAME
  2395.         closeGLView --- Close an existing glView (PPC)
  2396.  
  2397.    SYNOPSIS
  2398.         closeGLView(glView);
  2399.  
  2400.         void closeGLView(void *);
  2401.  
  2402.    FUNCTION
  2403.         Close an existing glView
  2404.  
  2405.    INPUT
  2406.         glView - a pointer of the GL view to be closed
  2407.  
  2408.    RETURN
  2409.         None
  2410.  
  2411.    NOTES
  2412.  
  2413.    SEE ALSO
  2414.         openGLView()
  2415.  
  2416. cybergl.elf/openGLView                                 cybergl.elf/openGLView
  2417.  
  2418.    NAME
  2419.         openGLView -- Open a GL view (PPC)
  2420.  
  2421.    SYNOPSIS
  2422.         glView=openGLView(width,
  2423.                           height,
  2424.                           depth,
  2425.                           vtaglist)
  2426.  
  2427.         GLvoid *openGLView(GLint,
  2428.                            GLint,
  2429.                            GLint,
  2430.                            struct TagList *)
  2431.    FUNCTION
  2432.         Open a GL view 
  2433.  
  2434.    INPUT
  2435.         width    - nominal width of view
  2436.         height   - nominal height of view
  2437.         depth    - nominal depth of view
  2438.         vtaglist - optional tag list
  2439.  
  2440.    RETURN
  2441.         glView - a pointer to the GL view created
  2442.  
  2443.    NOTES
  2444.  
  2445.    SEE ALSO
  2446.         closeGLView()
  2447. cybergl.elf/resizeGLView                             cybergl.elf/resizeGLView
  2448.  
  2449.    NAME
  2450.         resizeGLView -- Resize an existing glView (PPC)
  2451.  
  2452.    SYNOPSIS
  2453.         resizeGLView (glView,
  2454.                       width,
  2455.                       height)
  2456.  
  2457.         void resizeGLView (GLvoid *,
  2458.                            GLint,
  2459.                            GLint)
  2460.  
  2461.    FUNCTION
  2462.         Resize an existing glView
  2463.  
  2464.    INPUT
  2465.         glView  - a pointer of the GL view to be resized
  2466.         width   - new width requested
  2467.         height  - new height requested
  2468.  
  2469.    RETURN
  2470.  
  2471.    NOTES
  2472.         Only works for glViews that are created by attachGLView()
  2473.  
  2474.    SEE ALSO
  2475.         attachGLView()
  2476.