sfOpenGLCaps Class Reference

Interface for requesting OpenGL extensions and capabilities. More...

#include <OpenGLCaps.hpp>

List of all members.


Static Public Member Functions

static bool CheckExtension (const std::string &Name)
 Check whether or not an OpenGL extension is supported.
static int GetMaxTextureSize ()
 Return the maximum texture size.
static int GetMaxTextureUnits ()
 Return the maximum number of texture units available.

Detailed Description

Interface for requesting OpenGL extensions and capabilities.

Definition at line 44 of file OpenGLCaps.hpp.


Member Function Documentation

bool sfOpenGLCaps::CheckExtension ( const std::string &  Name  )  [static]

Check whether or not an OpenGL extension is supported.

Parameters:
Name : String identifier of the extension to check
Returns:
True if the extension is supported

Definition at line 35 of file OpenGLCaps.cpp.

int sfOpenGLCaps::GetMaxTextureSize (  )  [static]

Return the maximum texture size.

Returns:
Maximum texture size, in pixels

Definition at line 44 of file OpenGLCaps.cpp.

int sfOpenGLCaps::GetMaxTextureUnits (  )  [static]

Return the maximum number of texture units available.

Returns:
Maximum number of texture units

Definition at line 56 of file OpenGLCaps.cpp.


The documentation for this class was generated from the following files: