-
checkForGLExtension(searchName)
returns whether or not an OpenGL is supported
- Parameters:
-
{String} searchName
-
dumpInfo()
Dumps the current configuration on the console
-
gatherGPUInfo()
gathers OpenGL / GPU information
-
{Number}
getMaxModelviewStackDepth()
OpenGL Max Modelview Stack Depth.
- Returns:
- {Number}
-
{Number}
getMaxTextureSize()
OpenGL Max texture size.
- Returns:
- {Number}
-
{Number}
getMaxTextureUnits()
returns the maximum texture units
- Returns:
- {Number}
-
{String|Bool|Number|Object}
getValue(key, default_value)
Returns the value of a given key. If the key is not found, it will return the default value
- Parameters:
-
{String} key
-
{String|Bool|Number|Object} default_value
Optional, Default: null
- Returns:
- {String|Bool|Number|Object}
-
loadConfigFile(url)
Loads a config file. If the keys are already present, then they are going to be replaced. Otherwise the new keys are added.
- Parameters:
-
{string} url
-
setValue(key, value)
Sets a new key/value pair in the configuration dictionary
- Parameters:
-
{string} key
-
{String|Bool|Number|Object} value
-
{Boolean}
supportsATITC()
Whether or not ATITC Texture Compressed is supported
- Returns:
- {Boolean}
-
{Boolean}
supportsBGRA8888()
Whether or not BGRA8888 textures are supported.
- Returns:
- {Boolean}
-
{Boolean}
supportsDiscardFramebuffer()
Whether or not glDiscardFramebufferEXT is supported
- Returns:
- {Boolean}
-
{Boolean}
supportsETC()
Whether or not ETC Texture Compressed is supported
- Returns:
- {Boolean}
-
{Boolean}
supportsNPOT()
Whether or not the GPU supports NPOT (Non Power Of Two) textures.
OpenGL ES 2.0 already supports NPOT (iOS).
- Returns:
- {Boolean}
-
{Boolean}
supportsPVRTC()
Whether or not PVR Texture Compressed is supported
- Returns:
- {Boolean}
-
{Boolean}
supportsS3TC()
Whether or not S3TC Texture Compressed is supported
- Returns:
- {Boolean}
-
{Boolean}
supportsShareableVAO()
Whether or not shareable VAOs are supported.
- Returns:
- {Boolean}