OGLplus  (0.59.0) a C++ wrapper for rendering APIs

Collection of aliases for GL types. More...

#include <oglplus/gl_api/config.hpp>

Public Types

using void_ptr_type = GLvoid *
 Untyped pointer type.
 
using const_void_ptr_type = const GLvoid *
 Untyped const pointer type.
 
using char_type = GLchar
 String character type.
 
using bool_type = GLboolean
 Boolean type.
 
using enum_type = GLenum
 Enumeration type.
 
using bitfield_type = GLbitfield
 Bit-field type.
 
using byte_type = GLbyte
 Byte type.
 
using ubyte_type = GLubyte
 Unsigned-byte type.
 
using short_type = GLshort
 Signed short integer type.
 
using ushort_type = GLushort
 Unsigned short integer type.
 
using int_type = GLint
 Signed integer type.
 
using uint_type = GLuint
 Unsigned integer type.
 
using int64_type = GLint64
 Signed 64-bit integer type.
 
using uint64_type = GLuint64
 Unsigned 64-bit integer type.
 
using float_type = GLfloat
 Floating-point type.
 
using double_type = GLdouble
 Double-precision floating-point type.
 
using sizei_type = GLsizei
 Signed integer size type.
 
using sizeiptr_type = GLsizeiptr
 Signed integer size type.
 
using intptr_type = GLintptr
 Signed integer size type.
 
using sync_type = GLsync
 Sync handle type.
 
using name_type = uint_type
 Object handle type.
 

Static Public Member Functions

static constexpr auto bool_true (bool_type b) noexcept -> bool
 Converts bool_type value to native bool,.
 
static constexpr auto error_code_no_error (enum_type ec) noexcept -> bool
 Tests if the specified error code represents no-error value.
 

Detailed Description

Collection of aliases for GL types.


The documentation for this struct was generated from the following file:

Copyright © 2015-2021 Matúš Chochlík.
<chochlik -at -gmail.com>
Documentation generated on Tue Apr 13 2021 by Doxygen (version 1.8.17).