computePipeline.h
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"
11 #include "pxr/imaging/hgi/computePipeline.h"
12 #include "pxr/imaging/hgiGL/api.h"
13 
14 
15 PXR_NAMESPACE_OPEN_SCOPE
16 
17 
23 {
24 public:
25  HGIGL_API
26  ~HgiGLComputePipeline() override;
27 
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 
45 PXR_NAMESPACE_CLOSE_SCOPE
46 
47 #endif
HGIGL_API void BindPipeline()
Apply pipeline state.
OpenGL implementation of the Hydra Graphics Interface.
Definition: hgi.h:54
Describes the properties needed to create a GPU compute pipeline.
Represents a graphics platform independent GPU compute pipeline resource.
OpenGL implementation of HgiComputePipeline.