Loading...
Searching...
No Matches
resourceBindings.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_RESOURCEBINDINGS_H
8#define PXR_IMAGING_HGIGL_RESOURCEBINDINGS_H
9
10#include "pxr/pxr.h"
11#include "pxr/imaging/hgi/resourceBindings.h"
12#include "pxr/imaging/hgiGL/api.h"
13
14#include <vector>
15
16PXR_NAMESPACE_OPEN_SCOPE
17
18
26{
27public:
28 HGIGL_API
29 ~HgiGLResourceBindings() override;
30
32 HGIGL_API
34
35protected:
36 friend class HgiGL;
37
38 HGIGL_API
40
41private:
42 HgiGLResourceBindings() = delete;
43 HgiGLResourceBindings & operator=(const HgiGLResourceBindings&) = delete;
45};
46
47
48PXR_NAMESPACE_CLOSE_SCOPE
49
50#endif
OpenGL implementation of the Hydra Graphics Interface.
Definition: hgi.h:55
OpenGL implementation of HgiResourceBindings.
HGIGL_API void BindResources()
Binds the resources to GPU.
Represents a collection of buffers, texture and vertex attributes that will be used by an cmds object...
Describes a set of resources that are bound to the GPU during encoding.