26#ifndef TGUI_BACKEND_RENDERER_GLES2_HPP
27#define TGUI_BACKEND_RENDERER_GLES2_HPP
29#include <TGUI/Backend/Renderer/BackendRenderer.hpp>
30#include <TGUI/Backend/Renderer/GLES2/BackendTextureGLES2.hpp>
31#include <TGUI/Backend/Renderer/GLES2/BackendRenderTargetGLES2.hpp>
32#include <TGUI/Backend/Renderer/GLES2/CanvasGLES2.hpp>
46 using ContextLoadFuncReturnType = void (*)(void);
47 using ContextLoadFuncType = ContextLoadFuncReturnType (*)(
const char *name);
49 using SDLContextLoadFuncType =
void* (*)(
const char *name);
96 int m_maxTextureSize = 0;
Backend renderer that uses OpenGL ES 2 or 3 (depending on the loaded OpenGL ES context that you have ...
Definition: BackendRendererGLES2.hpp:43
BackendRendererGLES2(SDLContextLoadFuncType contextLoadFunction)
Helper constructor so that you can pass SDL_GL_GetProcAddress without needing to cast the type.
std::shared_ptr< BackendTexture > createTexture() override
Creates a new empty texture object.
unsigned int getMaximumTextureSize() override
Get the maximum allowed texture size.
BackendRendererGLES2(ContextLoadFuncType contextLoadFunction)
Initializes the backend renderer. This will initialize GLAD to use OpenGL ES.
Base class for the backend renderer, which is responsible for creating text and texture objects.
Definition: BackendRenderer.hpp:42
Namespace that contains all TGUI functions and classes.
Definition: AbsoluteOrRelativeValue.hpp:36