home *** CD-ROM | disk | FTP | other *** search
/ RISCWORLD 7 / RISCWORLD_VOL7.iso / Software / Issue4 / SDL / gcc346 / !SDL / man / SDL_GLattr.3 < prev    next >
Encoding:
Text File  |  2006-09-20  |  2.3 KB  |  88 lines

  1. <!-- manual page source format generated by PolyglotMan v3.0.8+X.Org, -->
  2. <!-- available at http://polyglotman.sourceforge.net/ -->
  3.  
  4. <html>
  5. <head>
  6. <title>"SDL_GLattr"("3") manual page</title>
  7. </head>
  8. <body bgcolor='#efefef' text='black' link='blue' vlink='#551A8B' alink='red'>
  9. <a href='#toc'>Table of Contents</a><p>
  10.  
  11. <h2><a name='sect0' href='#toc0'>Name</a></h2>
  12. SDL_GLattr- SDL GL Attributes 
  13. <h2><a name='sect1' href='#toc1'>Attributes</a></h2>
  14.  
  15. <dl>
  16.  
  17. <dt><b>SDL_GL_RED_SIZE</b> </dt>
  18. <dd>Size of the
  19. framebuffer red component, in bits </dd>
  20.  
  21. <dt><b>SDL_GL_GREEN_SIZE</b> </dt>
  22. <dd>Size of the framebuffer
  23. green component, in bits </dd>
  24.  
  25. <dt><b>SDL_GL_BLUE_SIZE</b> </dt>
  26. <dd>Size of the framebuffer blue
  27. component, in bits </dd>
  28.  
  29. <dt><b>SDL_GL_ALPHA_SIZE</b> </dt>
  30. <dd>Size of the framebuffer alpha component,
  31. in bits </dd>
  32.  
  33. <dt><b>SDL_GL_DOUBLEBUFFER</b> </dt>
  34. <dd>0 or 1, enable or disable double buffering
  35. </dd>
  36.  
  37. <dt><b>SDL_GL_BUFFER_SIZE</b> </dt>
  38. <dd>Size of the framebuffer, in bits </dd>
  39.  
  40. <dt><b>SDL_GL_DEPTH_SIZE</b> </dt>
  41. <dd>Size
  42. of the depth buffer, in bits </dd>
  43.  
  44. <dt><b>SDL_GL_STENCIL_SIZE</b> </dt>
  45. <dd>Size of the stencil buffer,
  46. in bits </dd>
  47.  
  48. <dt><b>SDL_GL_ACCUM_RED_SIZE</b> </dt>
  49. <dd>Size of the accumulation buffer red component,
  50. in bits </dd>
  51.  
  52. <dt><b>SDL_GL_ACCUM_GREEN_SIZE</b> </dt>
  53. <dd>Size of the accumulation buffer green component,
  54. in bits </dd>
  55.  
  56. <dt><b>SDL_GL_ACCUM_BLUE_SIZE</b> </dt>
  57. <dd>Size of the accumulation buffer blue component,
  58. in bits </dd>
  59.  
  60. <dt><b>SDL_GL_ACCUM_ALPHA_SIZE</b> </dt>
  61. <dd>Size of the accumulation buffer alpha component,
  62. in bits </dd>
  63. </dl>
  64.  
  65. <h2><a name='sect2' href='#toc2'>Description</a></h2>
  66. <p>
  67. While you can set most OpenGL attributes normally, the
  68. attributes list above must be known <i>before</i> SDL sets the video mode. These
  69. attributes a set and read with <i><b>SDL_GL_SetAttribute</b></i> and <i><b>SDL_GL_GetAttribute</b></i>.
  70.  
  71. <h2><a name='sect3' href='#toc3'>See Also</a></h2>
  72. <p>
  73. <i><b>SDL_GL_SetAttribute</b></i>, <i><b>SDL_GL_GetAttribute</b></i> 
  74. <!--
  75.   
  76.  <p>
  77.  
  78. <hr><p>
  79. <a name='toc'><b>Table of Contents</b></a><p>
  80. <ul>
  81. <li><a name='toc0' href='#sect0'>Name</a></li>
  82. <li><a name='toc1' href='#sect1'>Attributes</a></li>
  83. <li><a name='toc2' href='#sect2'>Description</a></li>
  84. <li><a name='toc3' href='#sect3'>See Also</a></li>
  85. </ul>
  86. </body>
  87. </html>
  88.