HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
resourceBindings.h
Go to the documentation of this file.
1 //
2 // Copyright 2020 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_HGIGL_RESOURCEBINDINGS_H
8 #define PXR_IMAGING_HGIGL_RESOURCEBINDINGS_H
9 
10 #include "pxr/pxr.h"
12 #include "pxr/imaging/hgiGL/api.h"
13 
14 #include <vector>
15 
17 
18 
19 ///
20 /// \class HgiGLResourceBindings
21 ///
22 /// OpenGL implementation of HgiResourceBindings.
23 ///
24 ///
26 {
27 public:
28  HGIGL_API
29  ~HgiGLResourceBindings() override;
30 
31  /// Binds the resources to GPU.
32  HGIGL_API
33  void BindResources();
34 
35 protected:
36  friend class HgiGL;
37 
38  HGIGL_API
40 
41 private:
42  HgiGLResourceBindings() = delete;
43  HgiGLResourceBindings & operator=(const HgiGLResourceBindings&) = delete;
45 };
46 
47 
49 
50 #endif
Definition: hgi.h:54
#define HGIGL_API
Definition: api.h:23
HGIGL_API ~HgiGLResourceBindings() override
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition: path.h:1425
HGIGL_API void BindResources()
Binds the resources to GPU.
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition: pxr.h:74