OGLplus (0.52.0) a C++ wrapper for OpenGL

buffer_target.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_BUFFER_TARGET_1201201052_HPP
14 #define OGLPLUS_BUFFER_TARGET_1201201052_HPP
15 
16 #include <oglplus/enumerations.hpp>
17 
18 namespace oglplus {
19 
21 
24 OGLPLUS_ENUM_CLASS_BEGIN(BufferTarget, GLenum)
25 #include <oglplus/enums/buffer_target.ipp>
26 OGLPLUS_ENUM_CLASS_END(BufferTarget)
27 
28 #if !OGLPLUS_NO_ENUM_VALUE_NAMES
29 #include <oglplus/enums/buffer_target_names.ipp>
30 #endif
31 
32 #if !OGLPLUS_ENUM_VALUE_RANGES
33 #include <oglplus/enums/buffer_target_range.ipp>
34 #endif
35 
36 template <>
37 struct ObjectTargetTag<BufferTarget>
38 {
39  typedef tag::Buffer Type;
40 };
41 
43 
46 OGLPLUS_ENUM_CLASS_BEGIN(BufferIndexedTarget, GLenum)
47 #include <oglplus/enums/buffer_indexed_target.ipp>
48 OGLPLUS_ENUM_CLASS_END(BufferIndexedTarget)
49 
50 #if !OGLPLUS_NO_ENUM_VALUE_NAMES
51 #include <oglplus/enums/buffer_indexed_target_names.ipp>
52 #endif
53 
54 #if !OGLPLUS_ENUM_VALUE_RANGES
55 #include <oglplus/enums/buffer_indexed_target_range.ipp>
56 #endif
57 
58 template <>
59 struct ObjectTargetTag<BufferIndexedTarget>
60 {
61  typedef tag::Buffer Type;
62 };
63 
64 } // namespace oglplus
65 
66 #endif // include guard
Enumeration-related declarations.
BufferIndexedTarget
Buffer indexed bind target.
Definition: buffer_target.hpp:46
BufferTarget
Buffer bind target.
Definition: buffer_target.hpp:24

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).