Visualization Library v1.0.3

A lightweight C++ OpenGL middleware for 2D/3D graphics

VL     Star     Watch     Fork     Issue

[Download] [Tutorials] [All Classes] [Grouped Classes]
Namespaces | Defines | Functions

/home/master/UCL/VisualizationLibrary/src/vlGraphics/OpenGL.hpp File Reference

#include <vlGraphics/link_config.hpp>
#include <vlCore/OpenGLDefs.hpp>
#include <vlCore/Log.hpp>
#include <vlGraphics/GL/GLExtensionList.hpp>
#include <vlGraphics/GL/GLESExtensionList.hpp>

Go to the source code of this file.

Namespaces

namespace  vl
 

Visualization Library namespace.


Defines

#define VL_EXTENSION(extension)   VLGRAPHICS_EXPORT extern bool Has_##extension;
#define VL_GLES_EXTENSION(extension)   VLGRAPHICS_EXPORT extern bool Has_##extension;
#define VL_CHECK_OGL()   { if ( ::vl::glcheck( __FILE__, __LINE__ ) ) { VL_TRAP( ) } }

Functions

VLGRAPHICS_EXPORT bool vl::initializeOpenGL ()
 To test whether OpenGL has been initialized at least once check vl::Is_OpenGL_Initialized.
VLGRAPHICS_EXPORT void * vl::getGLProcAddress (const char *name)
 Returns the address of the specified OpenGL function if supported by the active OpenGL driver and profile.
VLGRAPHICS_EXPORT const char * vl::getGLErrorString (int err)
 Returns a readable string corresponding to the given OpenGL error code as returned by glGetError()
VLGRAPHICS_EXPORT int vl::glcheck (const char *file, int line)

Define Documentation

#define VL_EXTENSION (   extension )    VLGRAPHICS_EXPORT extern bool Has_##extension;

Definition at line 114 of file OpenGL.hpp.

#define VL_GLES_EXTENSION (   extension )    VLGRAPHICS_EXPORT extern bool Has_##extension;

Definition at line 118 of file OpenGL.hpp.

#define VL_CHECK_OGL (  )    { if ( ::vl::glcheck( __FILE__, __LINE__ ) ) { VL_TRAP( ) } }

Definition at line 156 of file OpenGL.hpp.

Referenced by vl::Viewport::activate(), vl::TextureSampler::apply(), vl::TextureMatrix::apply(), vl::TexGen::apply(), vl::TexEnv::apply(), vl::TexParameter::apply(), vl::SampleCoverage::apply(), vl::ColorMask::apply(), vl::Normal::apply(), vl::SecondaryColor::apply(), vl::Color::apply(), vl::VertexAttrib::apply(), vl::BlendColor::apply(), vl::StencilMask::apply(), vl::StencilOp::apply(), vl::StencilFunc::apply(), vl::PointParameter::apply(), vl::LineStipple::apply(), vl::PolygonStipple::apply(), vl::PointSize::apply(), vl::LineWidth::apply(), vl::DepthRange::apply(), vl::LogicOp::apply(), vl::PolygonOffset::apply(), vl::Fog::apply(), vl::LightModel::apply(), vl::Material::apply(), vl::AlphaFunc::apply(), vl::BlendEquation::apply(), vl::BlendFunc::apply(), vl::ShadeModel::apply(), vl::PolygonMode::apply(), vl::DepthMask::apply(), vl::DepthFunc::apply(), vl::FrontFace::apply(), vl::CullFace::apply(), vl::Hint::apply(), vl::PixelTransfer::apply(), vl::PatchParameter::apply(), vl::Light::apply(), vl::GLSLProgram::apply(), vl::OpenGLContext::applyEnables(), vl::OpenGLContext::applyRenderStates(), vl::GLSLProgram::applyUniformSet(), vl::GLSLProgram::attachShader(), vl::FBORenderbufferAttachment::bindAttachment(), vl::FBOTextureLayerAttachment::bindAttachment(), vl::FBOTexture3DAttachment::bindAttachment(), vl::FBOTextureAttachment::bindAttachment(), vl::FBOTexture2DAttachment::bindAttachment(), vl::FBOTexture1DAttachment::bindAttachment(), vl::GLSLProgram::bindAttribLocation(), vl::Framebuffer::bindDrawBuffers(), vl::FramebufferObject::bindFramebuffer(), vl::Framebuffer::bindFramebuffer(), vl::Framebuffer::bindReadBuffer(), vl::OpenGLContext::bindVAS(), vl::FramebufferObject::checkFramebufferStatus(), vl::GLSLShader::compile(), vl::GLSLShader::compileStatus(), vl::CopyTexSubImage3D::copyPixels(), vl::CopyTexSubImage2D::copyPixels(), vl::CopyTexSubImage1D::copyPixels(), vl::BlitFramebuffer::copyPixels(), vl::BufferObject::createBufferObject(), vl::FramebufferObject::createFBO(), vl::Actor::createOcclusionQuery(), vl::GLSLProgram::createProgram(), vl::FBORenderbufferAttachment::createRenderBuffer(), vl::GLSLShader::createShader(), vl::Texture::createTexture(), vl::FramebufferObject::deleteFBO(), vl::DrawPixels::deletePixelBufferObjects(), vl::FBORenderbufferAttachment::deleteRenderBuffer(), vl::GLSLProgram::detachAllShaders(), vl::GLSLProgram::detachShader(), vl::GLSLProgram::discardAllShaders(), vl::GLSLProgram::getProgramBinary(), vl::GLSLProgram::getUniformfv(), vl::GLSLProgram::getUniformiv(), vl::GLSLProgram::infoLog(), vl::GLSLShader::infoLog(), vl::OpenGLContext::initGLContext(), vl::initializeOpenGL(), vl::FBORenderbufferAttachment::initStorage(), vl::OpenGLContext::isCleanState(), vl::GLSLProgram::linkProgram(), vl::GLSLProgram::linkStatus(), vl::OpenGLContext::logOpenGLInfo(), vl::BufferObject::mapBufferObject(), vl::GLSLProgram::programBinary(), vl::readPixels(), vl::FramebufferObject::removeAttachment(), vl::Rendering::render(), vl::Renderer::render(), vl::Renderable::render(), vl::OcclusionCullRenderer::render(), vl::MultiDrawElements< ArrayUShort1 >::render(), vl::EdgeRenderer::render(), vl::DrawRangeElements< ArrayUShort1 >::render(), vl::DrawElements< ArrayUShort1 >::render(), vl::Geometry::render_Implementation(), vl::DrawPixels::render_Implementation(), vl::Clear::render_Implementation(), vl::OcclusionCullRenderer::render_pass1(), vl::OcclusionCullRenderer::render_pass2(), vl::Text::renderBackground(), vl::Text::renderBorder(), vl::Text::renderText(), vl::CoreText::renderText(), vl::OpenGLContext::resetContextStates(), vl::BufferObject::setBufferData(), vl::BufferObject::setBufferSubData(), vl::OpenGLContext::setDefaultRenderState(), vl::Texture::setMipLevel(), vl::Texture::supports(), vl::BufferObject::unmapBufferObject(), vl::Applet::updateEvent(), vl::ProjViewTransfCallback::updateMatrices(), vl::GLSLProgram::useProgram(), and vl::GLSLProgram::validateProgram().


Visualization Library v1.0.3 Reference Documentation
Copyright Michele Bosi. All rights reserved.
Updated on Tue Feb 7 2017 00:55:04.
Permission is granted to use this page to write and publish articles regarding Visualization Library.