OpenGLCaps.h File Reference

#include <SFML/Config.h>

Go to the source code of this file.


Functions

CSFML_API sfBool sfOpenGLCaps_CheckExtension (char *Name)
 Check whether or not an OpenGL extension is supported.
CSFML_API int sfOpenGLCaps_GetMaxTextureSize ()
 Return the maximum texture size.
CSFML_API int sfOpenGLCaps_GetMaxTextureUnits ()
 Return the maximum number of texture units available.

Function Documentation

CSFML_API sfBool sfOpenGLCaps_CheckExtension ( char *  Name  ) 

Check whether or not an OpenGL extension is supported.

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

CSFML_API int sfOpenGLCaps_GetMaxTextureSize (  ) 

Return the maximum texture size.

Returns:
Maximum texture size, in pixels

CSFML_API int sfOpenGLCaps_GetMaxTextureUnits (  ) 

Return the maximum number of texture units available.

Returns:
Maximum number of texture units