8#ifndef META_OCEAN_RENDERING_GLES_APPLE_GLES_BITMAP_FRAMEBUFFER_H
9#define META_OCEAN_RENDERING_GLES_APPLE_GLES_BITMAP_FRAMEBUFFER_H
20#ifdef OCEAN_PLATFORM_BUILD_APPLE_MACOS
50 void setViewport(
const unsigned int left,
const unsigned int top,
const unsigned int width,
const unsigned int height)
override;
This class implements Ocean's image class.
Definition Frame.h:1969
BitmapFramebuffer()
Creates a new bitmap framebuffer.
void makeCurrent() override
Makes this framebuffer to the current one.
TextureFramebufferRef textureFrambuffer_
The texture framebuffer in which this framebuffer will be rendered.
Definition apple/GLESBitmapFramebuffer.h:112
CGLContextObj contextObject_
The CGL context object.
Definition apple/GLESBitmapFramebuffer.h:109
bool initialize(const FramebufferRef &shareFramebuffer=FramebufferRef()) override
Initializes the framebuffer.
bool initializeContext() override
Initialize the OpenGL ES dispaly and context.
GLESBitmapFramebuffer()
Creates a new window framebuffer.
~GLESBitmapFramebuffer() override
Destructs a window framebuffer.
void setViewport(const unsigned int left, const unsigned int top, const unsigned int width, const unsigned int height) override
Sets the viewport of this framebuffer.
void release() override
Releases the framebuffer.
void render() override
Renders the next frame into the framebuffer.
bool render(Frame &frame, Frame *depthFrame=nullptr) override
Renders the next frame and copies the image content into to a given frame.
friend class GLESEngineApple
Definition apple/GLESBitmapFramebuffer.h:42
void makeNoncurrent() override
Makes this framebuffer to non current.
GLESFramebuffer()
Creates a new GLESceneGraph framebuffer object.
SmartObjectRef< TextureFramebuffer > TextureFramebufferRef
Definition of a smart object reference holding a texture framebuffer.
Definition rendering/TextureFramebuffer.h:32
SmartObjectRef< Framebuffer > FramebufferRef
Definition of a smart object reference holding a framebuffer.
Definition rendering/Framebuffer.h:38
Definition rendering/glescenegraph/apple/Apple.h:23
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