sf::OpenGLCaps 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 47 of file OpenGLCaps.hpp.


Member Function Documentation

bool sf::OpenGLCaps::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 37 of file OpenGLCaps.cpp.

int sf::OpenGLCaps::GetMaxTextureSize (  )  [static]

Return the maximum texture size.

Returns:
Maximum texture size, in pixels

Definition at line 46 of file OpenGLCaps.cpp.

int sf::OpenGLCaps::GetMaxTextureUnits (  )  [static]

Return the maximum number of texture units available.

Returns:
Maximum number of texture units

Definition at line 58 of file OpenGLCaps.cpp.


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