Loading...
Searching...
No Matches
OpenGL.hpp
1#pragma once
2
3#include <QSurfaceFormat>
4#if __has_include(<private/qshader_p.h>)
5#include <private/qshader_p.h>
6#endif
7
8#include <score_lib_base_export.h>
9
10namespace score
11{
26SCORE_LIB_BASE_EXPORT void setupDefaultOpenGLFormat() noexcept;
27
28struct SCORE_LIB_BASE_EXPORT GLCapabilities
29{
30public:
32
33 int major{};
34 int minor{};
35 int shaderVersion{};
36 QSurfaceFormat::RenderableType type{};
37
38#if __has_include(<private/qshader_p.h>)
39 QShaderVersion qShaderVersion;
40#endif
41
42 void setupFormat(QSurfaceFormat& fmt);
43};
44}
Base toolkit upon which the software is built.
Definition Application.cpp:108
void setupDefaultOpenGLFormat() noexcept
Definition OpenGL.cpp:132
Definition OpenGL.hpp:29