globjects  1.1.0.2f0c753c8647
Strict OpenGL objects wrapper.
globjects.h File Reference
#include <string>
#include <array>
#include <set>
#include <glbinding/gl/types.h>
#include <glbinding/ContextHandle.h>
#include <globjects/globjects_api.h>
#include <globjects/AbstractUniform.h>
#include <globjects/Buffer.h>
#include <globjects/Framebuffer.h>
#include <globjects/DebugMessage.h>
#include <globjects/Program.h>
#include <globjects/Shader.h>
#include <globjects/Object.h>
#include <globjects/VertexArray.h>
#include <globjects/globjects.inl>

Go to the source code of this file.

Namespaces

 glbinding
 
 globjects
 Contains all the classes that wrap OpenGL functionality.
 

Functions

GLOBJECTS_API void globjects::init ()
 
GLOBJECTS_API void globjects::init (glbinding::ContextHandle sharedContextId)
 
GLOBJECTS_API void globjects::detachAllObjects ()
 calls detach on every registered object More...
 
template<typename T , typename... Args>
void globjects::init (T strategy, Args...args)
 
template<typename T , typename... Args>
void globjects::init (glbinding::ContextHandle sharedContextId, T strategy, Args...args)
 
GLOBJECTS_API void globjects::registerCurrentContext ()
 
GLOBJECTS_API void globjects::registerCurrentContext (glbinding::ContextHandle sharedContextId)
 
GLOBJECTS_API void globjects::setContext (glbinding::ContextHandle contextId)
 
GLOBJECTS_API void globjects::setCurrentContext ()
 
GLOBJECTS_API std::string globjects::getString (gl::GLenum pname)
 
GLOBJECTS_API std::string globjects::getString (gl::GLenum pname, gl::GLuint index)
 
GLOBJECTS_API gl::GLint globjects::getInteger (gl::GLenum pname)
 
GLOBJECTS_API gl::GLenum globjects::getEnum (gl::GLenum pname)
 
GLOBJECTS_API gl::GLfloat globjects::getFloat (gl::GLenum pname)
 
GLOBJECTS_API gl::GLdouble globjects::getDouble (gl::GLenum pname)
 
GLOBJECTS_API gl::GLboolean globjects::getBoolean (gl::GLenum pname)
 
GLOBJECTS_API gl::GLint globjects::getInteger (gl::GLenum pname, gl::GLuint index)
 
GLOBJECTS_API gl::GLenum globjects::getEnum (gl::GLenum pname, gl::GLuint index)
 
GLOBJECTS_API gl::GLfloat globjects::getFloat (gl::GLenum pname, gl::GLuint index)
 
GLOBJECTS_API gl::GLdouble globjects::getDouble (gl::GLenum pname, gl::GLuint index)
 
GLOBJECTS_API gl::GLboolean globjects::getBoolean (gl::GLenum pname, gl::GLuint index)
 
GLOBJECTS_API std::string globjects::vendor ()
 
GLOBJECTS_API std::string globjects::renderer ()
 
GLOBJECTS_API std::string globjects::versionString ()
 
GLOBJECTS_API glbinding::Version globjects::version ()
 
GLOBJECTS_API bool globjects::isCoreProfile ()
 
template<int Count>
std::array< gl::GLint, Count > globjects::getIntegers (gl::GLenum pname)
 
template<int Count>
std::array< gl::GLenum, Count > globjects::getEnums (gl::GLenum pname)
 
template<int Count>
std::array< gl::GLfloat, Count > globjects::getFloats (gl::GLenum pname)
 
template<int Count>
std::array< gl::GLdouble, Count > globjects::getDoubles (gl::GLenum pname)
 
template<int Count>
std::array< gl::GLboolean, Count > globjects::getBooleans (gl::GLenum pname)
 
GLOBJECTS_API const std::set< gl::GLextension > & globjects::availableExtensions ()
 
GLOBJECTS_API const std::set< std::string > & globjects::unknownAvailableExtensions ()
 
GLOBJECTS_API bool globjects::hasExtension (gl::GLextension extension)
 
GLOBJECTS_API bool globjects::hasExtension (const std::string &extensionName)
 
GLOBJECTS_API bool globjects::isInCoreProfile (gl::GLextension extension, const glbinding::Version &version)
 
GLOBJECTS_API bool globjects::isInCoreProfile (gl::GLextension extension)
 
GLOBJECTS_API void globjects::enable (gl::GLenum capability)
 
GLOBJECTS_API void globjects::disable (gl::GLenum capability)
 
GLOBJECTS_API bool globjects::isEnabled (gl::GLenum capability)
 
GLOBJECTS_API void globjects::setEnabled (gl::GLenum capability, bool enabled)
 
GLOBJECTS_API void globjects::enable (gl::GLenum capability, int index)
 
GLOBJECTS_API void globjects::disable (gl::GLenum capability, int index)
 
GLOBJECTS_API bool globjects::isEnabled (gl::GLenum capability, int index)
 
GLOBJECTS_API void globjects::setEnabled (gl::GLenum capability, int index, bool enabled)
 
GLOBJECTS_API void globjects::initializeStrategy (AbstractUniform::BindlessImplementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (Buffer::BindlessImplementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (Framebuffer::BindlessImplementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (DebugMessage::Implementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (Program::BinaryImplementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (Shader::IncludeImplementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (Object::NameImplementation impl)
 
GLOBJECTS_API void globjects::initializeStrategy (VertexArray::AttributeImplementation impl)