OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrapper for implementation-dependent limit queries. More...

#include </home/chochlik/devel/oglplus/include/oglplus/context/limit_queries.hpp>

Inheritance diagram for oglplus::context::LimitQueries:

Static Public Member Functions

static GLint IntLimit (LimitQuery query)
 Gets the implementation-dependent limit value. More...
 
static GLint IntLimit (LimitQuery query, GLuint index)
 Gets the implementation-dependent indexed limit value. More...
 
static GLfloat FloatLimit (LimitQuery query)
 Gets the implementation-dependent limit value. More...
 
static GLfloat FloatLimit (LimitQuery query, GLuint index)
 Gets the implementation-dependent indexed limit value. More...
 
static void RequireAtLeast (LimitQuery limit, GLint value)
 Raises a LimitError if value is greater than the specified limit. More...
 
static void RequireAtLeast (LimitQuery limit, GLuint index, GLint value)
 Raises a LimitError if value is greater than the specified limit. More...
 

Detailed Description

Wrapper for implementation-dependent limit queries.

Member Function Documentation

static GLfloat oglplus::context::LimitQueries::FloatLimit ( LimitQuery  query)
static

Gets the implementation-dependent limit value.

Related OpenGL symbols:
glGet
Examples:
standalone/001_gl_limits.cpp.
static GLfloat oglplus::context::LimitQueries::FloatLimit ( LimitQuery  query,
GLuint  index 
)
static

Gets the implementation-dependent indexed limit value.

Related OpenGL symbols:
glGet
static GLint oglplus::context::LimitQueries::IntLimit ( LimitQuery  query)
static

Gets the implementation-dependent limit value.

Related OpenGL symbols:
glGet

Referenced by RequireAtLeast().

static GLint oglplus::context::LimitQueries::IntLimit ( LimitQuery  query,
GLuint  index 
)
static

Gets the implementation-dependent indexed limit value.

Related OpenGL symbols:
glGet
static void oglplus::context::LimitQueries::RequireAtLeast ( LimitQuery  limit,
GLint  value 
)
static

Raises a LimitError if value is greater than the specified limit.

Related OpenGL symbols:
glGet
Exceptions
LimitError

References IntLimit().

static void oglplus::context::LimitQueries::RequireAtLeast ( LimitQuery  limit,
GLuint  index,
GLint  value 
)
static

Raises a LimitError if value is greater than the specified limit.

Related OpenGL symbols:
glGet
Exceptions
LimitError

References IntLimit().


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

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