Jopnal Engine  alpha 0.4
Simple Component Based 2D/3D Game Engine
Functions | Variables
jop::gl Namespace Reference

Functions

JOP_API unsigned int getVersionMajor ()
 Get the major OpenGL version. More...
 
JOP_API unsigned int getVersionMinor ()
 Get the minor OpenGL version. More...
 
JOP_API unsigned int getGLSLVersion ()
 Get the GLSL version. More...
 

Variables

JOP_API const bool es
 This will be true when using OpenGL ES. More...
 

Function Documentation

JOP_API unsigned int jop::gl::getGLSLVersion ( )

Get the GLSL version.

The version will be represented by a single number, e.g. 300.

Returns
GLSL version number
JOP_API unsigned int jop::gl::getVersionMajor ( )

Get the major OpenGL version.

Returns
Major OpenGL version number
JOP_API unsigned int jop::gl::getVersionMinor ( )

Get the minor OpenGL version.

Returns
Minor OpenGL version number

Variable Documentation

JOP_API const bool jop::gl::es

This will be true when using OpenGL ES.