HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
info.h
Go to the documentation of this file.
1 //
2 // Copyright 2016 Pixar
3 //
4 // Licensed under the terms set forth in the LICENSE.txt file available at
5 // https://openusd.org/license.
6 //
7 #ifndef PXR_IMAGING_GLF_INFO_H
8 #define PXR_IMAGING_GLF_INFO_H
9 
10 /// \file glf/info.h
11 
12 #include "pxr/pxr.h"
13 #include "pxr/imaging/glf/api.h"
14 #include <string>
15 
17 
18 
19 /// Tests for GL extension support.
20 ///
21 /// Returns \c true if each extension name listed in \a extensions
22 /// is supported by the current GL context.
23 GLF_API
24 bool GlfHasExtensions(std::string const & extensions);
25 
27 
28 #endif
#define GLF_API
Definition: api.h:23
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74
PXR_NAMESPACE_OPEN_SCOPE GLF_API bool GlfHasExtensions(std::string const &extensions)