/////////////////////////////////////////////////////////////////////////////
// Name: glcanvas.h
-// Purpose: documentation for wxGLContext class
+// Purpose: interface of wxGLContext
// Author: wxWidgets team
// RCS-ID: $Id$
// Licence: wxWindows license
@library{wxgl}
@category{gl}
- @seealso
- wxGLCanvas
+ @see wxGLCanvas
*/
class wxGLContext : public wxObject
{
public:
/**
Constructor.
-
+
@param win
The canvas that is used to initialize this context. This parameter is
needed only temporarily,
};
+
/**
@class wxGLCanvas
@wxheader{glcanvas.h}
@library{wxgl}
@category{gl}
- @seealso
- wxGLContext
+ @see wxGLContext
*/
class wxGLCanvas : public wxWindow
{
Creates a window with the given parameters. Notice that you need to create and
use a wxGLContext to output to this window.
If
-
+
@param attribList is not specified, double buffered RGBA mode is used.
-
+
parent
Pointer to a parent window.
@param id
/**
Determines if a canvas having the specified attributes is available.
Returns @true if attributes are supported.
-
+
@param attribList
See attribList for wxGLCanvas().
*/
*/
bool SwapBuffers();
};
+