OGLplus (0.52.0) a C++ wrapper for OpenGL

Wrapper for the GL string-query-related operations. More...

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

Inheritance diagram for oglplus::context::StringQueries:

Static Public Member Functions

static const GLubyte * GetString (StringQuery query)
 Queries a string describing GL properties. More...
 
static const char * Vendor (void)
 Returns the vendor name. More...
 
static const char * Version (void)
 Returns the version string. More...
 
static GLuint NumShadingLanguageVersions (void)
 Queries the number of supported shading language versions. More...
 
static const GLubyte * ShadingLanguageVersion (GLuint index)
 Returns the name of index -th supported shading language version. More...
 
static Range< StringShadingLanguageVersions (void)
 Returns a range of supported GLSL version strings. More...
 
static const char * ShadingLanguageVersion (void)
 Returns the shading language version string. More...
 
static const char * Renderer (void)
 Returns the renderer name. More...
 
static GLuint NumExtensions (void)
 Queries the number of extension strings. More...
 
static const GLubyte * Extensions (GLuint index)
 Returns the name of the index -th extension. More...
 
static Range< StrCRefExtensions (void)
 Returns a range of extension strings. More...
 

Detailed Description

Wrapper for the GL string-query-related operations.

Member Function Documentation

static const GLubyte* oglplus::context::StringQueries::Extensions ( GLuint  index)
static

Returns the name of the index -th extension.

Exceptions
Error
See Also
NumExtensions
Related OpenGL symbols:
glGetStringi GL_EXTENSIONS
Examples:
standalone/001_gl_info.cpp.
static Range<StrCRef> oglplus::context::StringQueries::Extensions ( void  )
static

Returns a range of extension strings.

Related OpenGL symbols:
glGetString GL_EXTENSIONS
static const GLubyte* oglplus::context::StringQueries::GetString ( StringQuery  query)
static

Queries a string describing GL properties.

Exceptions
Error
Related OpenGL symbols:
glGetString

Referenced by Renderer(), ShadingLanguageVersion(), Vendor(), and Version().

static GLuint oglplus::context::StringQueries::NumExtensions ( void  )
static

Queries the number of extension strings.

Exceptions
Error
See Also
GetExtension
Related OpenGL symbols:
glGet GL_NUM_EXTENSIONS
static GLuint oglplus::context::StringQueries::NumShadingLanguageVersions ( void  )
static

Queries the number of supported shading language versions.

Exceptions
Error
See Also
ShadingLanguageVersion

Requires OpenGL 4.3.

Related OpenGL symbols:
glGet GL_NUM_SHADING_LANGUAGE_VERSIONS
static const char* oglplus::context::StringQueries::Renderer ( void  )
static

Returns the renderer name.

Related OpenGL symbols:
glGetString GL_RENDERER
Examples:
standalone/001_gl_info.cpp.

References GetString(), and oglplus::Renderer.

static const GLubyte* oglplus::context::StringQueries::ShadingLanguageVersion ( GLuint  index)
static

Returns the name of index -th supported shading language version.

Exceptions
Error
See Also
NumShadingLanguageVersions

Requires OpenGL 4.3.

Related OpenGL symbols:
glGetStringi GL_EXTENSIONS
Examples:
standalone/001_gl_info.cpp.
static const char* oglplus::context::StringQueries::ShadingLanguageVersion ( void  )
static

Returns the shading language version string.

Related OpenGL symbols:
glGetString GL_SHADING_LANGUAGE_VERSION

References GetString(), and oglplus::ShadingLanguageVersion.

static Range<String> oglplus::context::StringQueries::ShadingLanguageVersions ( void  )
static

Returns a range of supported GLSL version strings.

Requires OpenGL 4.3.

Related OpenGL symbols:
glGetString GL_SHADING_LANGUAGE_VERSION
static const char* oglplus::context::StringQueries::Vendor ( void  )
static

Returns the vendor name.

Related OpenGL symbols:
glGetString GL_VENDOR
Examples:
standalone/001_gl_info.cpp.

References GetString(), and oglplus::Vendor.

static const char* oglplus::context::StringQueries::Version ( void  )
static

Returns the version string.

Related OpenGL symbols:
glGetString GL_VERSION
Examples:
standalone/001_gl_info.cpp.

References GetString(), and oglplus::Version.


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