Ocean
Loading...
Searching...
No Matches
GLESDynamicLibrary.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_DYNAMIC_LIBRARY_H
9#define META_OCEAN_RENDERING_GLES_DYNAMIC_LIBRARY_H
10
12
13#ifdef OCEAN_RENDERING_GLES_USE_DYNAMIC_LIBRARY
14
15#define GL_GLEXT_PROTOTYPES
16
17#if defined(OCEAN_PLATFORM_BUILD_LINUX)
18 #include <GL/gl.h>
19 #include <GL/glext.h>
20#else
21 #include <gl/GL.h>
22 #include <gl/glext.h>
23#endif
24
25namespace Ocean
26{
27
28#define glActiveTexture(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glActiveTexture_(a)
29#define glAttachShader(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glAttachShader_(a, b)
30#define glBindBuffer(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glBindBuffer_(a, b)
31#define glBindFramebuffer(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glBindFramebuffer_(a, b)
32#define glBindVertexArray(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glBindVertexArray_(a)
33#define glBufferData(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glBufferData_(a, b, c, d)
34#define glCheckFramebufferStatus(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glCheckFramebufferStatus_(a)
35#define glClearDepthf(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glClearDepthf_(a)
36#define glCompileShader(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glCompileShader_(a)
37#define glCompressedTexImage2D(a, b, c, d, e, f, g, h) Rendering::GLESceneGraph::GLESDynamicLibrary::glCompressedTexImage2D_(a, b, c, d, e, f, g, h)
38#define glCreateProgram() Rendering::GLESceneGraph::GLESDynamicLibrary::glCreateProgram_()
39#define glCreateShader(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glCreateShader_(a)
40#define glDebugMessageCallback(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glDebugMessageCallback_(a, b)
41#define glDeleteBuffers(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glDeleteBuffers_(a, b)
42#define glDeleteFramebuffers(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glDeleteFramebuffers_(a, b)
43#define glDeleteProgram(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glDeleteProgram_(a)
44#define glDeleteShader(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glDeleteShader_(a)
45#define glDeleteTextures(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glDeleteTextures_(a, b)
46#define glDeleteVertexArrays(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glDeleteVertexArrays_(a, b)
47#define glDetachShader(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glDetachShader_(a, b)
48#define glDrawArrays(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glDrawArrays_(a, b, c)
49#define glDrawElements(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glDrawElements_(a, b, c, d)
50#define glEnableVertexAttribArray(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glEnableVertexAttribArray_(a)
51#define glFramebufferTexture2D(a, b, c, d, e) Rendering::GLESceneGraph::GLESDynamicLibrary::glFramebufferTexture2D_(a, b, c, d, e)
52#define glGenBuffers(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGenBuffers_(a, b)
53#define glGenerateMipmap(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glGenerateMipmap_(a)
54#define glGenFramebuffers(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGenFramebuffers_(a, b)
55#define glGenTextures(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGenTextures_(a, b)
56#define glGenVertexArrays(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGenVertexArrays_(a, b)
57#define glGetAttribLocation(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetAttribLocation_(a, b)
58#define glGetProgramInfoLog(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetProgramInfoLog_(a, b, c, d)
59#define glGetProgramiv(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetProgramiv_(a, b, c)
60#define glGetShaderInfoLog(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetShaderInfoLog_(a, b, c, d)
61#define glGetShaderiv(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetShaderiv_(a, b, c)
62#define glGetStringi(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetStringi_(a, b)
63#define glGetUniformLocation(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glGetUniformLocation_(a, b)
64#define glIsProgram(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glIsProgram_(a)
65#define glLinkProgram(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glLinkProgram_(a)
66#define glReleaseShaderCompiler() Rendering::GLESceneGraph::GLESDynamicLibrary::glReleaseShaderCompiler_()
67#define glShaderSource(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glShaderSource_(a, b, c, d)
68#define glTexImage2DMultisample(a, b, c, d, e, f) Rendering::GLESceneGraph::GLESDynamicLibrary::glTexImage2DMultisample_(a, b, c, d, e, f)
69#define glUniform1f(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform1f_(a, b)
70#define glUniform1i(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform1i_(a, b)
71#define glUniform1ui(a, b) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform1ui_(a, b)
72#define glUniform2f(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform2f_(a, b, c)
73#define glUniform2fv(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform2fv_(a, b, c)
74#define glUniform3f(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform3f_(a, b, c, d)
75#define glUniform3fv(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform3fv_(a, b, c)
76#define glUniform4f(a, b, c, d, e) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform4f_(a, b, c, d, e)
77#define glUniform4fv(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform4fv_(a, b, c)
78#define glUniform1fv(a, b, c) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniform1fv_(a, b, c)
79#define glUniformMatrix3fv(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniformMatrix3fv_(a, b, c, d)
80#define glUniformMatrix4fv(a, b, c, d) Rendering::GLESceneGraph::GLESDynamicLibrary::glUniformMatrix4fv_(a, b, c, d)
81#define glUseProgram(a) Rendering::GLESceneGraph::GLESDynamicLibrary::glUseProgram_(a)
82#define glVertexAttribPointer(a, b, c, d, e, f) Rendering::GLESceneGraph::GLESDynamicLibrary::glVertexAttribPointer_(a, b, c, d, e, f)
83#define glVertexAttribIPointer(a, b, c, d, e) Rendering::GLESceneGraph::GLESDynamicLibrary::glVertexAttribIPointer_(a, b, c, d, e)
84
85namespace Rendering
86{
87
88namespace GLESceneGraph
89{
90
91/**
92 * This class stores the OpenGL function pointers for OpenGL 2.0+ functions
93 * @ingroup renderinggles
94 */
95class OCEAN_RENDERING_GLES_EXPORT GLESDynamicLibrary
96{
97 public:
98
99 typedef void (*DebugCallbackFunction)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, const void* userParam);
100
101 typedef void (__stdcall *glActiveTextureFunction)(GLenum texture);
102 typedef void (__stdcall *glAttachShaderFunction)(GLuint, GLuint);
103 typedef void (__stdcall *glBindBufferFunction)(GLenum, GLuint);
104 typedef void (__stdcall *glBindFramebufferFunction)(GLenum target, GLuint framebuffer);
105 typedef void (__stdcall *glBindVertexArrayFunction)(GLuint array);
106 typedef void (__stdcall *glBufferDataFunction)(GLenum, GLsizeiptr, const void*, GLenum);
107 typedef GLenum (__stdcall *glCheckFramebufferStatusFunction)(GLenum target);
108 typedef void (__stdcall *glClearDepthfFunction)(GLclampf);
109 typedef void (__stdcall *glCompileShaderFunction)(GLuint);
110 typedef void (__stdcall *glCompressedTexImage2DFunction)(GLenum, GLint, GLenum, GLsizei, GLsizei, GLint, GLsizei, const void*);
111 typedef GLuint (__stdcall *glCreateProgramFunction)();
112 typedef GLuint (__stdcall *glCreateShaderFunction)(GLenum type);
113 typedef void (__stdcall *glDebugMessageCallbackFunction)(DebugCallbackFunction, const void*);
114 typedef void (__stdcall *glDeleteBuffersFunction)(GLsizei, const GLuint*);
115 typedef void (__stdcall *glDeleteFramebuffersFunction)(GLsizei n, const GLuint * framebuffers);
116 typedef void (__stdcall *glDeleteProgramFunction)(GLuint);
117 typedef void (__stdcall *glDeleteShaderFunction)(GLuint);
118 typedef void (__stdcall *glDeleteTexturesFunction)(GLsizei, const GLuint*);
119 typedef void (__stdcall *glDeleteVertexArraysFunction)(GLsizei, const GLuint*);
120 typedef void (__stdcall *glDetachShaderFunction)(GLuint, GLuint);
121 typedef void (__stdcall *glDrawArraysFunction)(GLenum, GLint, GLsizei);
122 typedef void (__stdcall *glDrawElementsFunction)(GLenum, GLsizei, GLenum, const void*);
123 typedef void (__stdcall *glEnableVertexAttribArrayFunction)(GLuint index);
124 typedef void (__stdcall *glFramebufferTexture2DFunction)(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
125 typedef void (__stdcall *glGenBuffersFunction)(GLsizei, GLuint*);
126 typedef void (__stdcall *glGenerateMipmapFunction)(GLenum target);
127 typedef void (__stdcall *glGenFramebuffersFunction)(GLsizei n, GLuint *ids);
128 typedef void (__stdcall *glGenTexturesFunction)(GLsizei, GLuint*);
129 typedef void (__stdcall *glGenVertexArraysFunction)(GLsizei n, GLuint *arrays);
130 typedef int (__stdcall *glGetAttribLocationFunction)(GLuint, const char*);
131 typedef void (__stdcall *glGetProgramInfoLogFunction)(GLuint, GLsizei, GLsizei*, char*);
132 typedef void (__stdcall *glGetProgramivFunction)(GLuint, GLenum, GLint*);
133 typedef void (__stdcall *glGetShaderInfoLogFunction)(GLuint, GLsizei, GLsizei*, char*);
134 typedef void (__stdcall *glGetShaderivFunction)(GLuint, GLenum, GLint*);
135 typedef GLubyte* (__stdcall *glGetStringiFunction)(GLenum, GLuint);
136 typedef int (__stdcall *glGetUniformLocationFunction)(GLuint, const char*);
137 typedef GLboolean (__stdcall *glIsProgramFunction)(GLuint program);
138 typedef void (__stdcall *glLinkProgramFunction)(GLuint);
139 typedef void (__stdcall *glReleaseShaderCompilerFunction)();
140 typedef void (__stdcall *glShaderSourceFunction)(GLuint, GLsizei, const char**, const GLint*);
141 typedef void (__stdcall *glTexImage2DMultisampleFunction)(GLenum, GLsizei, GLenum, GLsizei, GLsizei, GLboolean);
142 typedef void (__stdcall *glUniform1fFunction)(GLint location, GLfloat x);
143 typedef void (__stdcall *glUniform1fvFunction)(GLint, GLsizei, const GLfloat*);
144 typedef void (__stdcall *glUniform1iFunction)(GLint, GLint);
145 typedef void (__stdcall *glUniform1uiFunction)(GLint, GLuint);
146 typedef void (__stdcall *glUniform2fFunction)(GLint, GLfloat, GLfloat);
147 typedef void (__stdcall *glUniform2fvFunction)(GLint location, GLsizei count, const GLfloat* v);
148 typedef void (__stdcall *glUniform3fFunction)(GLint, GLfloat, GLfloat, GLfloat);
149 typedef void (__stdcall *glUniform3fvFunction)(GLint location, GLsizei count, const GLfloat* v);
150 typedef void (__stdcall *glUniform4fFunction)(GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
151 typedef void (__stdcall *glUniform4fvFunction)(GLint location, GLsizei count, const GLfloat* v);
152 typedef void (__stdcall *glUniformMatrix3fvFunction)(GLint, GLsizei, GLboolean, const GLfloat*);
153 typedef void (__stdcall *glUniformMatrix4fvFunction)(GLint, GLsizei, GLboolean, const GLfloat*);
154 typedef void (__stdcall *glUseProgramFunction)(GLuint);
155 typedef void (__stdcall *glVertexAttribPointerFunction)(GLuint, GLint, GLenum, GLboolean, GLsizei, const void*);
156 typedef void (__stdcall *glVertexAttribIPointerFunction)(GLuint, GLint, GLenum, GLsizei, const void*);
157
158 public:
159
160 /**
161 * Initializes the library interface.
162 * The windows mobile dynamic EGL dll will be loaded and all function pointers will be extracted.<br>
163 * Don't call any interface function before a successful initialization.
164 */
165 static bool initialize();
166
167 /**
168 * Releases the library interface and disposes all interface functions.
169 */
170 static void release();
171
172 protected:
173
174 /**
175 * Initializes a function pointer.
176 * @param function The function to be initialized, must point to nullptr
177 * @param functionName The name of the function to initialize
178 * @tparam T The data type of the function pointer
179 */
180 template <typename T>
181 static void initializeFunction(T& function, const char* functionName);
182
183 public:
184
185 static glActiveTextureFunction glActiveTexture_;
186 static glAttachShaderFunction glAttachShader_;
187 static glBindBufferFunction glBindBuffer_;
188 static glBindFramebufferFunction glBindFramebuffer_;
189 static glBindVertexArrayFunction glBindVertexArray_;
190 static glBufferDataFunction glBufferData_;
191 static glCheckFramebufferStatusFunction glCheckFramebufferStatus_;
192 static glClearDepthfFunction glClearDepthf_;
193 static glCompileShaderFunction glCompileShader_;
194 static glCompressedTexImage2DFunction glCompressedTexImage2D_;
195 static glCreateProgramFunction glCreateProgram_;
196 static glCreateShaderFunction glCreateShader_;
197 static glDebugMessageCallbackFunction glDebugMessageCallback_;
198 static glDeleteBuffersFunction glDeleteBuffers_;
199 static glDeleteFramebuffersFunction glDeleteFramebuffers_;
200 static glDeleteProgramFunction glDeleteProgram_;
201 static glDeleteShaderFunction glDeleteShader_;
202 static glDeleteTexturesFunction glDeleteTextures_;
203 static glDeleteVertexArraysFunction glDeleteVertexArrays_;
204 static glDetachShaderFunction glDetachShader_;
205 static glDrawArraysFunction glDrawArrays_;
206 static glDrawElementsFunction glDrawElements_;
207 static glEnableVertexAttribArrayFunction glEnableVertexAttribArray_;
208 static glFramebufferTexture2DFunction glFramebufferTexture2D_;
209 static glGenBuffersFunction glGenBuffers_;
210 static glGenerateMipmapFunction glGenerateMipmap_;
211 static glGenFramebuffersFunction glGenFramebuffers_;
212 static glGenTexturesFunction glGenTextures_;
213 static glGenVertexArraysFunction glGenVertexArrays_;
214 static glGetAttribLocationFunction glGetAttribLocation_;
215 static glGetProgramInfoLogFunction glGetProgramInfoLog_;
216 static glGetProgramivFunction glGetProgramiv_;
217 static glGetShaderInfoLogFunction glGetShaderInfoLog_;
218 static glGetShaderivFunction glGetShaderiv_;
219 static glGetStringiFunction glGetStringi_;
220 static glGetUniformLocationFunction glGetUniformLocation_;
221 static glIsProgramFunction glIsProgram_;
222 static glLinkProgramFunction glLinkProgram_;
223 static glReleaseShaderCompilerFunction glReleaseShaderCompiler_;
224 static glShaderSourceFunction glShaderSource_;
225 static glTexImage2DMultisampleFunction glTexImage2DMultisample_;
226 static glUniform1fFunction glUniform1f_;
227 static glUniform1fvFunction glUniform1fv_;
228 static glUniform1iFunction glUniform1i_;
229 static glUniform1uiFunction glUniform1ui_;
230 static glUniform2fFunction glUniform2f_;
231 static glUniform4fvFunction glUniform2fv_;
232 static glUniform3fFunction glUniform3f_;
233 static glUniform4fvFunction glUniform3fv_;
234 static glUniform4fFunction glUniform4f_;
235 static glUniform4fvFunction glUniform4fv_;
236 static glUniformMatrix3fvFunction glUniformMatrix3fv_;
237 static glUniformMatrix4fvFunction glUniformMatrix4fv_;
238 static glUseProgramFunction glUseProgram_;
239 static glVertexAttribPointerFunction glVertexAttribPointer_;
240 static glVertexAttribIPointerFunction glVertexAttribIPointer_;
241};
242
243}
244
245}
246
247}
248
249#endif // OCEAN_RENDERING_GLES_USE_DYNAMIC_LIBRARY
250
251#endif // META_OCEAN_RENDERING_GLES_DYNAMIC_LIBRARY_H
This class stores the OpenGL function pointers for OpenGL 2.0+ functions.
Definition GLESDynamicLibrary.h:96
static glBindBufferFunction glBindBuffer_
Definition GLESDynamicLibrary.h:187
static glLinkProgramFunction glLinkProgram_
Definition GLESDynamicLibrary.h:222
static glDebugMessageCallbackFunction glDebugMessageCallback_
Definition GLESDynamicLibrary.h:197
static glUniform1iFunction glUniform1i_
Definition GLESDynamicLibrary.h:228
static void initializeFunction(T &function, const char *functionName)
Initializes a function pointer.
static glGetAttribLocationFunction glGetAttribLocation_
Definition GLESDynamicLibrary.h:214
static glGetStringiFunction glGetStringi_
Definition GLESDynamicLibrary.h:219
static glDeleteVertexArraysFunction glDeleteVertexArrays_
Definition GLESDynamicLibrary.h:203
static glDrawArraysFunction glDrawArrays_
Definition GLESDynamicLibrary.h:205
static glClearDepthfFunction glClearDepthf_
Definition GLESDynamicLibrary.h:192
static glBindVertexArrayFunction glBindVertexArray_
Definition GLESDynamicLibrary.h:189
static glFramebufferTexture2DFunction glFramebufferTexture2D_
Definition GLESDynamicLibrary.h:208
static glShaderSourceFunction glShaderSource_
Definition GLESDynamicLibrary.h:224
static glCompileShaderFunction glCompileShader_
Definition GLESDynamicLibrary.h:193
static glUniform4fvFunction glUniform4fv_
Definition GLESDynamicLibrary.h:235
static glUniform1fvFunction glUniform1fv_
Definition GLESDynamicLibrary.h:227
static glUniform1uiFunction glUniform1ui_
Definition GLESDynamicLibrary.h:229
static glUniformMatrix4fvFunction glUniformMatrix4fv_
Definition GLESDynamicLibrary.h:237
GLubyte *(__stdcall * glGetStringiFunction)(GLenum, GLuint)
Definition GLESDynamicLibrary.h:135
static glReleaseShaderCompilerFunction glReleaseShaderCompiler_
Definition GLESDynamicLibrary.h:223
static glEnableVertexAttribArrayFunction glEnableVertexAttribArray_
Definition GLESDynamicLibrary.h:207
static glUniform4fvFunction glUniform3fv_
Definition GLESDynamicLibrary.h:233
static glUseProgramFunction glUseProgram_
Definition GLESDynamicLibrary.h:238
static glCheckFramebufferStatusFunction glCheckFramebufferStatus_
Definition GLESDynamicLibrary.h:191
static glCompressedTexImage2DFunction glCompressedTexImage2D_
Definition GLESDynamicLibrary.h:194
static glGenVertexArraysFunction glGenVertexArrays_
Definition GLESDynamicLibrary.h:213
static glDeleteBuffersFunction glDeleteBuffers_
Definition GLESDynamicLibrary.h:198
static glGetProgramInfoLogFunction glGetProgramInfoLog_
Definition GLESDynamicLibrary.h:215
static glUniform3fFunction glUniform3f_
Definition GLESDynamicLibrary.h:232
static glDeleteProgramFunction glDeleteProgram_
Definition GLESDynamicLibrary.h:200
static glVertexAttribPointerFunction glVertexAttribPointer_
Definition GLESDynamicLibrary.h:239
static glGetProgramivFunction glGetProgramiv_
Definition GLESDynamicLibrary.h:216
static glGetShaderivFunction glGetShaderiv_
Definition GLESDynamicLibrary.h:218
static glUniform4fvFunction glUniform2fv_
Definition GLESDynamicLibrary.h:231
static glBindFramebufferFunction glBindFramebuffer_
Definition GLESDynamicLibrary.h:188
static glGenBuffersFunction glGenBuffers_
Definition GLESDynamicLibrary.h:209
static glDeleteShaderFunction glDeleteShader_
Definition GLESDynamicLibrary.h:201
static glGenerateMipmapFunction glGenerateMipmap_
Definition GLESDynamicLibrary.h:210
static void release()
Releases the library interface and disposes all interface functions.
static glDrawElementsFunction glDrawElements_
Definition GLESDynamicLibrary.h:206
static glIsProgramFunction glIsProgram_
Definition GLESDynamicLibrary.h:221
static glActiveTextureFunction glActiveTexture_
Definition GLESDynamicLibrary.h:185
static glCreateProgramFunction glCreateProgram_
Definition GLESDynamicLibrary.h:195
static glUniform1fFunction glUniform1f_
Definition GLESDynamicLibrary.h:226
static glGetShaderInfoLogFunction glGetShaderInfoLog_
Definition GLESDynamicLibrary.h:217
static glVertexAttribIPointerFunction glVertexAttribIPointer_
Definition GLESDynamicLibrary.h:240
static glAttachShaderFunction glAttachShader_
Definition GLESDynamicLibrary.h:186
static glCreateShaderFunction glCreateShader_
Definition GLESDynamicLibrary.h:196
static glUniformMatrix3fvFunction glUniformMatrix3fv_
Definition GLESDynamicLibrary.h:236
static glGetUniformLocationFunction glGetUniformLocation_
Definition GLESDynamicLibrary.h:220
static glDeleteTexturesFunction glDeleteTextures_
Definition GLESDynamicLibrary.h:202
static glBufferDataFunction glBufferData_
Definition GLESDynamicLibrary.h:190
static glGenFramebuffersFunction glGenFramebuffers_
Definition GLESDynamicLibrary.h:211
static glGenTexturesFunction glGenTextures_
Definition GLESDynamicLibrary.h:212
static glDeleteFramebuffersFunction glDeleteFramebuffers_
Definition GLESDynamicLibrary.h:199
static glUniform2fFunction glUniform2f_
Definition GLESDynamicLibrary.h:230
static glDetachShaderFunction glDetachShader_
Definition GLESDynamicLibrary.h:204
static glTexImage2DMultisampleFunction glTexImage2DMultisample_
Definition GLESDynamicLibrary.h:225
static bool initialize()
Initializes the library interface.
static glUniform4fFunction glUniform4f_
Definition GLESDynamicLibrary.h:234
The namespace covering the entire Ocean framework.
Definition Accessor.h:15