OGLplus (0.52.0) a C++ wrapper for OpenGL

ARB_robustness.hpp
Go to the documentation of this file.
1 
12 #pragma once
13 #ifndef OGLPLUS_EXT_EXT_DIRECT_STATE_ACCESS_1203031902_HPP
14 #define OGLPLUS_EXT_EXT_DIRECT_STATE_ACCESS_1203031902_HPP
15 
16 #include <oglplus/extension.hpp>
19 
20 namespace oglplus {
21 
22 #if OGLPLUS_DOCUMENTATION_ONLY || GL_ARB_robustness
23 
25 
32 {
33 public:
34  OGLPLUS_EXTENSION_CLASS(ARB, robustness)
35 
36 
37 
44  {
45  GLint result = 0;
46  OGLPLUS_GLFUNC(GetIntegerv)(
47  GL_RESET_NOTIFICATION_STRATEGY_ARB,
48  &result
49  );
50  OGLPLUS_VERIFY_SIMPLE(GetIntegerv);
52  }
53 
55 
61  {
62  GLenum result = OGLPLUS_GLFUNC(GetGraphicsResetStatusARB)();
63  OGLPLUS_VERIFY_SIMPLE(GetGraphicsResetStatusARB);
64  return oglplus::GraphicsResetStatus(result);
65  }
66 };
67 #endif
68 
69 } // namespace oglplus
70 
71 #endif // include guard
ResetNotificationStrategy
Graphics reset notification strategy enumeration.
Definition: reset_notif_strategy.hpp:27
Funcions and classes for handling and wrapping OpenGL extensions.
Wrapper for the ARB_robustness extension.
Definition: ARB_robustness.hpp:31
static oglplus::GraphicsResetStatus GraphicsResetStatus(void)
Returns the graphics reset status.
Definition: ARB_robustness.hpp:60
static oglplus::ResetNotificationStrategy ResetNotificationStrategy(void)
Returns the context graphics reset notification strategy.
Definition: ARB_robustness.hpp:43
GraphicsResetStatus
Graphics reset status enumeration.
Definition: graphics_reset_status.hpp:27
Wrapper for the ARB_robustness graphics reset status enumeration.
Wrapper for the ARB_robustness graphics reset notification strategy.

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