OGLplus (0.52.0) a C++ wrapper for OpenGL

framebuffer_attachment.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_FRAMEBUFFER_ATTACHMENT_1312081013_HPP
14 #define OGLPLUS_FRAMEBUFFER_ATTACHMENT_1312081013_HPP
15 
16 #include <oglplus/enumerations.hpp>
18 
19 namespace oglplus {
20 
21 #if OGLPLUS_DOCUMENTATION_ONLY
22 class FramebufferColorAttachmentNumber
24  : public LimitedCount
25 {
26 public:
27  FramebufferColorAttachmentNumber(GLuint count);
28 };
29 #else
30 OGLPLUS_DECLARE_LIMITED_COUNT_TYPE(
31  FramebufferColorAttachmentNumber,
32  MAX_COLOR_ATTACHMENTS
33 )
34 #endif
35 
37 
40 OGLPLUS_ENUM_CLASS_BEGIN(FramebufferBuffer, GLenum)
41 #include <oglplus/enums/framebuffer_buffer.ipp>
42 OGLPLUS_ENUM_CLASS_END(FramebufferBuffer)
43 
44 #if !OGLPLUS_NO_ENUM_VALUE_NAMES
45 #include <oglplus/enums/framebuffer_buffer_names.ipp>
46 #endif
47 
48 #if !OGLPLUS_ENUM_VALUE_RANGES
49 #include <oglplus/enums/framebuffer_buffer_range.ipp>
50 #endif
51 
53 
56 OGLPLUS_ENUM_CLASS_BEGIN(FramebufferAttachment, GLenum)
57 #include <oglplus/enums/framebuffer_attachment.ipp>
58 OGLPLUS_ENUM_CLASS_END(FramebufferAttachment)
59 
60 #if !OGLPLUS_NO_ENUM_VALUE_NAMES
61 #include <oglplus/enums/framebuffer_attachment_names.ipp>
62 #endif
63 
64 #if !OGLPLUS_ENUM_VALUE_RANGES
65 #include <oglplus/enums/framebuffer_attachment_range.ipp>
66 #endif
67 
69 
72 OGLPLUS_ENUM_CLASS_BEGIN(FramebufferColorAttachment, GLenum)
73 #include <oglplus/enums/framebuffer_color_attachment.ipp>
74 OGLPLUS_ENUM_CLASS_END(FramebufferColorAttachment)
75 
76 #if !OGLPLUS_NO_ENUM_VALUE_NAMES
77 #include <oglplus/enums/framebuffer_color_attachment_names.ipp>
78 #endif
79 
80 #if !OGLPLUS_ENUM_VALUE_RANGES
81 #include <oglplus/enums/framebuffer_color_attachment_range.ipp>
82 #endif
83 
84 } // namespace oglplus
85 
86 #endif // include guard
FramebufferAttachment
Framebuffer object attachment points.
Definition: framebuffer_attachment.hpp:56
Enumeration-related declarations.
Generic OpenGL implementation-dependend limited value wrapper.
FramebufferBuffer
Default framebuffer buffers.
Definition: framebuffer_attachment.hpp:40
FramebufferColorAttachment
Framebuffer color attachment points.
Definition: framebuffer_attachment.hpp:72

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