Sha256: 3de9835002dccb8a8f859054211044952716a80729851c4d6717cb33cfd5cb1c

Contents?: true

Size: 484 Bytes

Versions: 49

Compression:

Stored size: 484 Bytes

Contents

// -*- c++ -*-
#pragma once
#ifndef __REFLEX_SRC_WIN32_OPENGL_H__
#define __REFLEX_SRC_WIN32_OPENGL_H__


#include <windows.h>
#include <rays/opengl.h>


namespace Reflex
{


	class OpenGL
	{

		public:

			OpenGL ();

			~OpenGL ();

			bool init (HWND hwnd);

			bool fin ();

			bool make_current ();

			bool swap_buffers ();

			operator bool () const;

			bool operator ! () const;

		private:

			HWND hwnd;

			HDC hdc;

			HGLRC hrc;

	};// OpenGL


}// Reflex


#endif//EOH

Version data entries

49 entries across 49 versions & 1 rubygems

Version Path
reflexion-0.2.1 src/win32/opengl.h
reflexion-0.2 src/win32/opengl.h
reflexion-0.1.57 src/win32/opengl.h
reflexion-0.1.56 src/win32/opengl.h
reflexion-0.1.55 src/win32/opengl.h
reflexion-0.1.54 src/win32/opengl.h
reflexion-0.1.53 src/win32/opengl.h
reflexion-0.1.52 src/win32/opengl.h
reflexion-0.1.51 src/win32/opengl.h
reflexion-0.1.50 src/win32/opengl.h
reflexion-0.1.49 src/win32/opengl.h
reflexion-0.1.48 src/win32/opengl.h
reflexion-0.1.47 src/win32/opengl.h
reflexion-0.1.46 src/win32/opengl.h
reflexion-0.1.45 src/win32/opengl.h
reflexion-0.1.44 src/win32/opengl.h
reflexion-0.1.43 src/win32/opengl.h
reflexion-0.1.42 src/win32/opengl.h
reflexion-0.1.41 src/win32/opengl.h
reflexion-0.1.40 src/win32/opengl.h