score
Home
Classes
Namespaces
Files
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
10
namespace
score
11
{
26
SCORE_LIB_BASE_EXPORT
void
setupDefaultOpenGLFormat
() noexcept;
27
28
struct SCORE_LIB_BASE_EXPORT
GLCapabilities
29
{
30
public
:
31
GLCapabilities
();
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
}
score
Base toolkit upon which the software is built.
Definition
Application.cpp:108
score::setupDefaultOpenGLFormat
void setupDefaultOpenGLFormat() noexcept
Definition
OpenGL.cpp:132
score::GLCapabilities
Definition
OpenGL.hpp:29