21 #ifndef GF_GRAPHICS_INFO_H 22 #define GF_GRAPHICS_INFO_H 31 #ifndef DOXYGEN_SHOULD_SKIP_THIS 200 #ifndef DOXYGEN_SHOULD_SKIP_THIS static std::vector< Format > getCompressedTextureFormats()
Get a list of supported compressed texture formats.
static int getMaxTextureSize()
Get a rough estimate of the largest texture.
static std::vector< std::string > getExtensions()
Get available OpenGL extensions.
GraphicsInfo()=delete
Deleted default constructor.
static int getMaxVertexTextureImageUnits()
Get the maximum supported texture image units in a vertex shader.
static int getMaxVaryingVectors()
Get the maximum number four-element vectors available for varying variables used by vertex and fragme...
static int getMaxVertexAttribs()
Get the maximum number of 4-component generic vertex attributes accessible to a vertex shader...
static std::string getRenderer()
Get OpenGL renderer string.
static int getMaxTextureImageUnits()
Get the maximum supported texture image units in a fragment shader.
static std::string getShadingLanguageVersion()
Get OpenGL GLSL version string.
The namespace for gf classes.
Definition: Action.h:34
static Vector2i getMaxViewportDims()
Get the maximum supported width and height of the viewport.
static int getMaxFragmentUniformVectors()
Get the maximum number of four-element vectors that can be held in uniform variable storage for a fra...
static std::vector< Format > getShaderBinaryFormats()
Get a list of supported shader binary formats.
static std::string getVendor()
Get OpenGL vendor string.
static int getMaxCombinedTextureImageUnits()
Get the maximum supported texture image units.
static int getSubpixelBits()
Get an estimate of the number of bits of subpixel resolution.
static std::string getVersion()
Get OpenGL version string.
#define GF_API
Definition: Portability.h:35
A class for graphics info.
Definition: GraphicsInfo.h:46
static int getMaxVertexUniformVectors()
Get the maximum number of four-element vectors that can be held in uniform variable storage for a ver...
static int getMaxCubeMapTextureSize()
Get a rough estimate of the largest cube-map texture.
static int getMaxRenderbufferSize()
Get the largest renderbuffer width and height.