8#ifndef META_OCEAN_PLATFORM_GL_WIN_WINDOW_CONTEXT_H
9#define META_OCEAN_PLATFORM_GL_WIN_WINDOW_CONTEXT_H
unsigned int multisamples() const
Returns the number of multi samples that this context supports.
Definition platform/gl/Context.h:612
Context()=default
Creates a new context.
WindowContext(HINSTANCE applicationInstance, const std::wstring &name, const bool isChild)
Creates a new main window.
~WindowContext() override
Destructs the main window.
void onInitialized() override
Event function if the windows has been initialized successfully.
bool swapBuffers() override
Swaps the foreground and background buffer if this context has two buffers.
void modifyWindowClass(WNDCLASS &windowClass) override
Allows the modification of the window class before the registration.
bool createOpenGLContext(const bool initializeOpenGL33, const unsigned int multisamples) override
Creates the OpenGL context for this framebuffer.
void makeCurrent(const bool state=true) override
Makes the OpenGL rendering context of this framebuffer the calling thread's current rendering context...
The namespace covering the entire Ocean framework.
Definition Accessor.h:15