Ocean
Loading...
Searching...
No Matches
android/GLESWindowFramebuffer.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Meta Platforms, Inc. and affiliates.
3 *
4 * This source code is licensed under the MIT license found in the
5 * LICENSE file in the root directory of this source tree.
6 */
7
8#ifndef META_OCEAN_RENDERING_GLES_ANDROID_GLES_WINDOW_FRAMEBUFFER_H
9#define META_OCEAN_RENDERING_GLES_ANDROID_GLES_WINDOW_FRAMEBUFFER_H
10
15
17
18namespace Ocean
19{
20
21namespace Rendering
22{
23
24namespace GLESceneGraph
25{
26
27namespace Android
28{
29
30/**
31 * This class is the base class for all GLESceneGraph window framebuffers for Android (not Oculus) platforms.
32 * @ingroup renderinggles
33 */
34class OCEAN_RENDERING_GLES_EXPORT GLESWindowFramebuffer :
35 virtual public GLESFramebuffer,
36 virtual public WindowFramebuffer
37{
38 friend class GLESEngineAndroid;
39
40 public:
41
42 /**
43 * Initialize the OpenGL ES dispaly and context.
44 * @return True, if succeeded
45 */
46 bool initializeContext() override;
47
48 protected:
49
50 /**
51 * Creates a new AGLESceneGraph window framebuffer.
52 */
54
55 /**
56 * Destructs a AGLESceneGraph window framebuffer.
57 */
59};
60
61}
62
63}
64
65}
66
67}
68
69#endif // META_OCEAN_RENDERING_GLES_ANDROID_GLES_WINDOW_FRAMEBUFFER_H
This class implements the engine for Android platforms.
Definition GLESEngineAndroid.h:31
This class is the base class for all GLESceneGraph window framebuffers for Android (not Oculus) platf...
Definition android/GLESWindowFramebuffer.h:37
GLESWindowFramebuffer()
Creates a new AGLESceneGraph window framebuffer.
bool initializeContext() override
Initialize the OpenGL ES dispaly and context.
~GLESWindowFramebuffer() override
Destructs a AGLESceneGraph window framebuffer.
This class implements a base for all GLESceneGraph framebuffers.
Definition rendering/glescenegraph/GLESFramebuffer.h:34
This class is the base class for all window framebuffers.
Definition rendering/WindowFramebuffer.h:55
The namespace covering the entire Ocean framework.
Definition Accessor.h:15