HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
computePipeline.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_COMPUTE_PIPELINE_H
8 #define PXR_IMAGING_HGIGL_COMPUTE_PIPELINE_H
9 
10 #include "pxr/pxr.h"
12 #include "pxr/imaging/hgiGL/api.h"
13 
14 
16 
17 
18 /// \class HgiGLComputePipeline
19 ///
20 /// OpenGL implementation of HgiComputePipeline.
21 ///
23 {
24 public:
25  HGIGL_API
26  ~HgiGLComputePipeline() override;
27 
28  /// Apply pipeline state
29  HGIGL_API
30  void BindPipeline();
31 
32 protected:
33  friend class HgiGL;
34 
35  HGIGL_API
37 
38 private:
39  HgiGLComputePipeline() = delete;
40  HgiGLComputePipeline & operator=(const HgiGLComputePipeline&) = delete;
42 };
43 
44 
46 
47 #endif
HGIGL_API void BindPipeline()
Apply pipeline state.
HGIGL_API ~HgiGLComputePipeline() override
Definition: hgi.h:54
#define HGIGL_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