Ion
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
isextensionsupported.h
Go to the documentation of this file.
1 
18 #ifndef ION_PORTGFX_ISEXTENSIONSUPPORTED_H_
19 #define ION_PORTGFX_ISEXTENSIONSUPPORTED_H_
20 
21 #include <string>
22 
23 namespace ion {
24 namespace portgfx {
25 
31 ION_API bool IsExtensionSupported(const std::string& unprefixed_extension,
32  const std::string& extensions_string);
33 
37 ION_API bool IsExtensionSupported(const char* unprefixed_extension);
38 
46 ION_API bool IsExtensionIncomplete(const char* unprefixed_extension);
47 
48 } // namespace portgfx
49 } // namespace ion
50 
51 #endif // ION_PORTGFX_ISEXTENSIONSUPPORTED_H_
ION_API bool IsExtensionIncomplete(const char *unprefixed_extension)
Returns whether the passed extension is known to be incomplete for the current platform.
ION_API bool IsExtensionSupported(const std::string &unprefixed_extension, const std::string &extensions_string)
Returns whether the currently bound OpenGL implementation supports the named extension.