glbinding  3.3.0.0
A C++ binding for the OpenGL API, generated using the gl.xml specification.
Loading...
Searching...
No Matches
types_to_string.h
Go to the documentation of this file.
1
2#pragma once
3
4
5#include <string>
6#include <iosfwd>
7
8#include <glbinding-aux/glbinding-aux_api.h>
9#include <glbinding-aux/glbinding-aux_features.h>
10
11#include <glbinding/gl/types.h>
12#include <glbinding/Value.h>
13
14
15namespace gl
16{
17
18
19GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const GLenum & value);
20GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const GLboolean & value);
21GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const GLextension & value);
22GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const AttribMask & value);
23GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const BufferStorageMask & value);
24GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const ClearBufferMask & value);
25GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const ClientAttribMask & value);
26GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const ContextFlagMask & value);
27GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const ContextProfileMask & value);
28GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const FfdMaskSGIX & value);
29GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const FragmentShaderColorModMaskATI & value);
30GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const FragmentShaderDestMaskATI & value);
31GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const FragmentShaderDestModMaskATI & value);
32GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const MapBufferAccessMask & value);
33GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const MemoryBarrierMask & value);
34GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const OcclusionQueryEventMaskAMD & value);
35GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const PathFontStyle & value);
36GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const PathMetricMask & value);
37GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const PathRenderingMaskNV & value);
38GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const PerformanceQueryCapsMaskINTEL & value);
39GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const SyncObjectMask & value);
40GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const TextureStorageMaskAMD & value);
41GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const UnusedMask & value);
42GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const UseProgramStageMask & value);
43GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const VertexHintsMaskPGI & value);
44
45
46} // namespace gl
47
48
49namespace glbinding
50{
51
52
53class Version;
54
55
60template <typename T>
61GLBINDING_AUX_TEMPLATE_API std::ostream & operator<<(std::ostream & stream, const Value<T> & value);
62
67template <typename T>
68GLBINDING_AUX_TEMPLATE_API std::ostream & operator<<(std::ostream & stream, const Value<T *> & value);
69
74template <>
75GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Value<gl::GLenum> & value);
76
77/* <- ToDo: Add back second * when implementing this function again
78* @brief
79* A specialized ostream operator for the gl::GLbitfield Value template
80*/
81/*template <>
82GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Value<gl::GLbitfield> & value);*/
83
88template <>
89GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Value<gl::GLboolean> & value);
90
95template <>
96GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Value<const char *> & value);
97
102template <>
103GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Value<gl::GLubyte *> & value);
104
109template <>
110GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Value<gl::GLchar *> & value);
111
116GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const Version & version);
117
122GLBINDING_AUX_API std::ostream & operator<<(std::ostream & stream, const AbstractValue * value);
123
124
125} // namespace glbinding
126
127
The AbstractValue class represents the superclass of a printable wrapper around a data type.
Definition AbstractValue.h:19
The Value class represents a printable wrapper around an OpenGL data type.
Definition Value.h:30
The Version class represents an OpenGL feature, consisting of major version and minor version,...
Definition Version.h:34
Definition ContextInfo.h:16
std::ostream & operator<<(std::ostream &stream, const GLenum &value)
Contains all the classes of glbinding.
std::ostream & operator<<(std::ostream &stream, const Value< T > &value)
Generic ostream operator for the Value template.
Definition types_to_string.inl:13