Sha256: e828b3cec72c834c69e875cda4117c088cc8f890d7a465692b960ff6d145855f
Contents?: true
Size: 476 Bytes
Versions: 10
Compression:
Stored size: 476 Bytes
Contents
// -*- c++ -*- #pragma once #ifndef __REFLEX_WIN32_OPENGL_H__ #define __REFLEX_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
10 entries across 10 versions & 1 rubygems