glbinding
3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
Loading...
Searching...
No Matches
glbinding
include
glbinding
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
11
namespace
glbinding
12
{
13
14
19
class
GLBINDING_API
Boolean8
20
{
21
public
:
22
using
underlying_type
=
unsigned
char
;
23
24
public
:
32
GLBINDING_CONSTEXPR
inline
Boolean8
();
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
68
GLBINDING_CONSTEXPR
inline
Boolean8
(
int
on
);
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
214
public
:
215
underlying_type
m_value
;
216
};
217
218
219
}
// namespace gl
220
221
222
#include <
glbinding/Boolean8.inl
>
Boolean8.inl
glbinding::Boolean8
Boolean type based on an 8-bit integer.
Definition
Boolean8.h:20
glbinding::Boolean8::m_value
underlying_type m_value
Value
Definition
Boolean8.h:215
glbinding::Value
The Value class represents a printable wrapper around an OpenGL data type.
Definition
Value.h:30
glbinding
Contains all the classes of glbinding.
Generated on Wed Nov 27 2024 10:16:20 for glbinding by
1.9.8