8#ifndef META_OCEAN_RENDERING_GLES_WINDOWS_GLES_WINDOW_FRAMEBUFFER_H
9#define META_OCEAN_RENDERING_GLES_WINDOWS_GLES_WINDOW_FRAMEBUFFER_H
18 #error This file is available on Windows platforms only!
PixelFormat
Definition of all pixel formats available in the Ocean framework.
Definition Frame.h:183
@ FORMAT_RGBA32
Pixel format with byte order RGBA and 32 bits per pixel.
Definition Frame.h:382
GLESFramebuffer()
Creates a new GLESceneGraph framebuffer object.
HWND windowHandle_
The window handle.
Definition windows/GLESWindowFramebuffer.h:125
bool setSupportAntialiasing(const unsigned int buffers) override
Sets whether this framebuffer will support hardware anti-aliasing.
void makeCurrent() override
Makes this framebuffer to the current one.
void render() override
Renders the next frame into the framebuffer.
GLESWindowFramebuffer()
Creates a new GLESceneGraph window framebuffer.
void setPreferredPixelFormat(const FrameType::PixelFormat pixelFormat) override
Sets the preferred pixel format of this framebuffer.
bool isAntialiasingSupported(const unsigned int buffers) const override
Returns whether the framebuffer supports hardware anti-aliasing.
unsigned int antialiasingBuffers_
The Number of preferred multi-sampling anti-aliasing buffers.
Definition windows/GLESWindowFramebuffer.h:143
bool framebufferVerticalSynchronization
True to enable vertical synchronization; False, to disable vertical synchronization.
Definition windows/GLESWindowFramebuffer.h:137
void release() override
Releases the framebuffer.
PFNWGLCHOOSEPIXELFORMATARBPROC wglChoosePixelFormatARB_
The function pointer to wglChoosePixelFormatARB.
Definition windows/GLESWindowFramebuffer.h:134
HDC windowDC_
The device context.
Definition windows/GLESWindowFramebuffer.h:128
HGLRC contextHandle_
The OpenGL context handle.
Definition windows/GLESWindowFramebuffer.h:122
bool acquireGLFunctions()
Acquires all OpenGL function pointers.
FrameType::PixelFormat framebufferPreferredPixelFormat
Preferred pixel format which should be used during context initialization.
Definition windows/GLESWindowFramebuffer.h:140
bool initializeContext() override
Initialize the OpenGL ES display and context.
~GLESWindowFramebuffer() override
Destructs a GLESceneGraph window framebuffer.
PFNWGLCREATECONTEXTATTRIBSARBPROC wglCreateContextAttribsARB_
The function pointer to wglCreateContextAttribsARB.
Definition windows/GLESWindowFramebuffer.h:131
friend class GLESEngineWindows
Definition windows/GLESWindowFramebuffer.h:43
bool initializeById(const size_t id, const FramebufferRef &shareFramebuffer=FramebufferRef()) override
Sets the platform dependent framebuffer base id or handle and initializes the framebuffer.
bool isAntialiasing() const override
Returns whether the framebuffer uses hardware anti-aliasing.
WindowFramebuffer()
Creates a new window framebuffer.
SmartObjectRef< Framebuffer > FramebufferRef
Definition of a smart object reference holding a framebuffer.
Definition rendering/Framebuffer.h:38
Definition windows/GLESBitmapFramebuffer.h:38
Namespace of the Rendering GLESceneGraph library.
Definition rendering/glescenegraph/android/Android.h:20
Namespace of the Rendering library.
Definition AbsoluteTransform.h:18
The namespace covering the entire Ocean framework.
Definition Accessor.h:15