glbinding  3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
Loading...
Searching...
No Matches
Boolean8.h
Go to the documentation of this file.
1
2#pragma once
3
4
5#include <functional>
6
7#include <glbinding/glbinding_api.h>
8#include <glbinding/glbinding_features.h>
9
10
11namespace glbinding
12{
13
14
20{
21public:
22 using underlying_type = unsigned char;
23
24public:
33
41 GLBINDING_CONSTEXPR inline Boolean8(bool on);
42
50 GLBINDING_CONSTEXPR inline Boolean8(char on);
51
59 GLBINDING_CONSTEXPR inline Boolean8(unsigned char on);
60
69
77 GLBINDING_CONSTEXPR inline Boolean8(unsigned int on);
78
86 GLBINDING_CONSTEXPR inline explicit operator bool() const;
87
95 GLBINDING_CONSTEXPR inline explicit operator char() const;
96
104 GLBINDING_CONSTEXPR inline explicit operator unsigned char() const;
105
113 GLBINDING_CONSTEXPR inline explicit operator int() const;
114
122 GLBINDING_CONSTEXPR inline explicit operator unsigned int() const;
123
137 GLBINDING_CONSTEXPR inline bool operator<(const Boolean8 & other) const;
138
152 GLBINDING_CONSTEXPR inline bool operator>(const Boolean8 & other) const;
153
167 GLBINDING_CONSTEXPR inline bool operator<=(const Boolean8 & other) const;
168
182 GLBINDING_CONSTEXPR inline bool operator>=(const Boolean8 & other) const;
183
197 GLBINDING_CONSTEXPR inline bool operator==(const Boolean8 & other) const;
198
212 GLBINDING_CONSTEXPR inline bool operator!=(const Boolean8 & other) const;
213
214public:
216};
217
218
219} // namespace gl
220
221
222#include <glbinding/Boolean8.inl>
Boolean type based on an 8-bit integer.
Definition Boolean8.h:20
underlying_type m_value
Value
Definition Boolean8.h:215
The Value class represents a printable wrapper around an OpenGL data type.
Definition Value.h:30
Contains all the classes of glbinding.