// ***************************************************************************
//
//   Generated automatically by genwrapper.
//   Please DO NOT EDIT this file!
//
// ***************************************************************************

#include <osgIntrospection/ReflectionMacros>
#include <osgIntrospection/TypedMethodInfo>
#include <osgIntrospection/StaticMethodInfo>
#include <osgIntrospection/Attributes>

#include <osg/GraphicsContext>
#include <osg/Object>
#include <osgViewer/api/X11/PixelBufferX11>

// Must undefine IN and OUT macros defined in Windows headers
#ifdef IN
#undef IN
#endif
#ifdef OUT
#undef OUT
#endif

BEGIN_OBJECT_REFLECTOR(osgViewer::PixelBufferX11)
	I_DeclaringFile("osgViewer/api/X11/PixelBufferX11");
	I_BaseType(osg::GraphicsContext);
	I_Constructor1(IN, osg::GraphicsContext::Traits *, traits,
	               Properties::NON_EXPLICIT,
	               ____PixelBufferX11__osg_GraphicsContext_Traits_P1,
	               "",
	               "");
	I_Method1(bool, isSameKindAs, IN, const osg::Object *, object,
	          Properties::VIRTUAL,
	          __bool__isSameKindAs__C5_Object_P1,
	          "",
	          "");
	I_Method0(const char *, libraryName,
	          Properties::VIRTUAL,
	          __C5_char_P1__libraryName,
	          "return the name of the object's library. ",
	          "Must be defined by derived classes. The OpenSceneGraph convention is that the namespace of a library is the same as the library name. ");
	I_Method0(const char *, className,
	          Properties::VIRTUAL,
	          __C5_char_P1__className,
	          "return the name of the object's class type. ",
	          "Must be defined by derived classes. ");
	I_Method0(bool, valid,
	          Properties::VIRTUAL,
	          __bool__valid,
	          "Return whether a valid and usable GraphicsContext has been created. ",
	          "");
	I_Method0(bool, realizeImplementation,
	          Properties::VIRTUAL,
	          __bool__realizeImplementation,
	          "Realise the GraphicsContext. ",
	          "");
	I_Method0(bool, isRealizedImplementation,
	          Properties::VIRTUAL,
	          __bool__isRealizedImplementation,
	          "Return true if the graphics context has been realised and is ready to use. ",
	          "");
	I_Method0(void, closeImplementation,
	          Properties::VIRTUAL,
	          __void__closeImplementation,
	          "Close the graphics context. ",
	          "");
	I_Method0(bool, makeCurrentImplementation,
	          Properties::VIRTUAL,
	          __bool__makeCurrentImplementation,
	          "Make this graphics context current. ",
	          "");
	I_Method1(bool, makeContextCurrentImplementation, IN, osg::GraphicsContext *, readContext,
	          Properties::VIRTUAL,
	          __bool__makeContextCurrentImplementation__osg_GraphicsContext_P1,
	          "Make this graphics context current with specified read context implementation. ",
	          "");
	I_Method0(bool, releaseContextImplementation,
	          Properties::VIRTUAL,
	          __bool__releaseContextImplementation,
	          "Release the graphics context. ",
	          "");
	I_Method1(void, bindPBufferToTextureImplementation, IN, GLenum, buffer,
	          Properties::VIRTUAL,
	          __void__bindPBufferToTextureImplementation__GLenum,
	          "Bind the graphics context to associated texture implementation. ",
	          "");
	I_Method0(void, swapBuffersImplementation,
	          Properties::VIRTUAL,
	          __void__swapBuffersImplementation,
	          "Swap the front and back buffers. ",
	          "");
	I_Method0(Display *, getDisplay,
	          Properties::NON_VIRTUAL,
	          __Display_P1__getDisplay,
	          "",
	          "");
	I_Method0(GLXPbuffer &, getPbuffer,
	          Properties::NON_VIRTUAL,
	          __GLXPbuffer_R1__getPbuffer,
	          "",
	          "");
	I_Method0(GLXContext &, getGLXContext,
	          Properties::NON_VIRTUAL,
	          __GLXContext_R1__getGLXContext,
	          "",
	          "");
	I_ProtectedMethod0(bool, createVisualInfo,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __bool__createVisualInfo,
	                   "",
	                   "");
	I_ProtectedMethod0(void, init,
	                   Properties::NON_VIRTUAL,
	                   Properties::NON_CONST,
	                   __void__init,
	                   "",
	                   "");
	I_SimpleProperty(Display *, Display, 
	                 __Display_P1__getDisplay, 
	                 0);
	I_SimpleProperty(GLXContext &, GLXContext, 
	                 __GLXContext_R1__getGLXContext, 
	                 0);
	I_SimpleProperty(GLXPbuffer &, Pbuffer, 
	                 __GLXPbuffer_R1__getPbuffer, 
	                 0);
END_REFLECTOR

