OGLplus
(0.52.0)
a C++ wrapper for
OpenGL
Tweet
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
include
oglplus
context
errors.hpp
Go to the documentation of this file.
1
12
#pragma once
13
#ifndef OGLPLUS_CONTEXT_ERRORS_1201040722_HPP
14
#define OGLPLUS_CONTEXT_ERRORS_1201040722_HPP
15
16
#include <
oglplus/enumerations.hpp
>
17
#include <
oglplus/glfunc.hpp
>
18
#include <
oglplus/error/code.hpp
>
19
20
namespace
oglplus {
21
namespace
context {
22
24
27
class
Errors
28
{
29
public
:
31
35
static
ErrorCode
GetError
(
void
)
36
{
37
return
ErrorCode
(OGLPLUS_GLFUNC(
GetError
)());
38
}
39
};
40
41
}
// namespace context
42
}
// namespace oglplus
43
44
#endif // include guard
oglplus::context::Errors::GetError
static ErrorCode GetError(void)
returns the error code
Definition:
errors.hpp:35
enumerations.hpp
Enumeration-related declarations.
oglplus::context::Errors
Wrapper for the error-reporting-related operations.
Definition:
errors.hpp:27
glfunc.hpp
Helper macro for optional checking of availability of GL function.
code.hpp
Enumeration of error-codes.
oglplus::ErrorCode
ErrorCode
Error code enumeration.
Definition:
code.hpp:27
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).