OGLplus (0.52.0) a C++ wrapper for OpenGL

tags.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_OBJECT_TAGS_1405011014_HPP
14 #define OGLPLUS_OBJECT_TAGS_1405011014_HPP
15 
16 #include <type_traits>
17 
18 namespace oglplus {
19 namespace tag {
20 
21 #define OGLPLUS_DEFINE_OBJECT_TAG(ID, OBJECT) \
22 struct OBJECT \
23  : std::integral_constant<int, ID> \
24 { \
25  typedef GLuint NameType; \
26 };
27 
28 OGLPLUS_DEFINE_OBJECT_TAG( 1, Texture)
29 OGLPLUS_DEFINE_OBJECT_TAG( 2, Buffer)
30 OGLPLUS_DEFINE_OBJECT_TAG( 3, Framebuffer)
31 OGLPLUS_DEFINE_OBJECT_TAG( 4, Renderbuffer)
32 OGLPLUS_DEFINE_OBJECT_TAG( 5, Query)
33 OGLPLUS_DEFINE_OBJECT_TAG( 6, ProgramPipeline)
34 OGLPLUS_DEFINE_OBJECT_TAG( 7, Program)
35 OGLPLUS_DEFINE_OBJECT_TAG( 8, TransformFeedback)
36 OGLPLUS_DEFINE_OBJECT_TAG( 9, Sampler)
37 OGLPLUS_DEFINE_OBJECT_TAG(10, VertexArray)
38 OGLPLUS_DEFINE_OBJECT_TAG(11, Shader)
39 OGLPLUS_DEFINE_OBJECT_TAG(12, PerfMonitorAMD)
40 OGLPLUS_DEFINE_OBJECT_TAG(13, PathNV)
41 
42 #undef OGLPLUS_DEFINE_OBJECT_TAG
43 
44 } // namespace tag
45 } // namespace oglplus
46 
47 #endif // include guard
Object< PerfMonitorAMDOps > PerfMonitorAMD
An oglplus_object encapsulating the performance monitor functionality.
Definition: AMD_performance_monitor.hpp:503
TRANSFORM_FEEDBACK_BUFFER.
Object< BufferOps > Buffer
RENDERBUFFER: The default target.
Object< PathNVOps > PathNV
An oglplus_object encapsulating the nVidia path functionality.
Definition: path.hpp:1019

Copyright © 2010-2014 Matúš Chochlík, University of Žilina, Žilina, Slovakia.
<matus.chochlik -at- fri.uniza.sk>
<chochlik -at -gmail.com>
Documentation generated on Mon Sep 22 2014 by Doxygen (version 1.8.6).