Main Page   Namespace List   Class Hierarchy   Compound List   File List   Compound Members   File Members  

opengl.h

Go to the documentation of this file.
00001 /*
00002         $Id: opengl.h,v 1.4 2001/03/04 17:54:49 mbn Exp $
00003 
00004         ------------------------------------------------------------------------
00005         ClanLib, the platform independent game SDK.
00006 
00007         This library is distributed under the GNU LIBRARY GENERAL PUBLIC LICENSE
00008         version 2. See COPYING for details.
00009 
00010         For a total list of contributers see CREDITS.
00011 
00012         ------------------------------------------------------------------------
00013 */
00014 
00016 
00017 #ifndef header_opengl
00018 #define header_opengl
00019 
00020 class CL_OpenGL
00021 //: OpenGL "main" class.
00022 // <p>CL_OpenGL is a class containing some functions that are general for
00023 // both OpenGL and ClanLib.</p>
00024 {
00025 public:
00026         static void begin_2d();
00027         static void end_2d();
00028         static void enable_2d_projection();
00029         static void disable_2d_projection();
00030 
00031         // set attribute functions
00032         static void set_use_gl( int v );
00033         static void set_buffer_size( int v );
00034         static void set_level( int v );
00035         static void set_rgba( int v );
00036         static void set_doublebuffer( int v );
00037         static void set_stereo( int v );
00038         static void set_aux_buffers( int v );
00039         static void set_red_size( int v );
00040         static void set_green_size( int v );
00041         static void set_blue_size( int v );
00042         static void set_alpha_size( int v );
00043         static void set_depth_size( int v );
00044         static void set_stencil_size( int v );
00045         static void set_accum_red_size( int v );
00046         static void set_accum_green_size( int v );
00047         static void set_accum_blue_size( int v );
00048         static void set_accum_alpha_size( int v );
00049 
00050 };
00051 
00052 #endif

Generated at Wed Apr 4 19:54:02 2001 for ClanLib by doxygen1.2.6 written by Dimitri van Heesch, © 1997-2001