HDK
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
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
"
11
#include "
pxr/imaging/hgi/resourceBindings.h
"
12
#include "
pxr/imaging/hgiGL/api.h
"
13
14
#include <vector>
15
16
PXR_NAMESPACE_OPEN_SCOPE
17
18
19
///
20
/// \class HgiGLResourceBindings
21
///
22
/// OpenGL implementation of HgiResourceBindings.
23
///
24
///
25
class
HgiGLResourceBindings
final :
public
HgiResourceBindings
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
39
HgiGLResourceBindings
(
HgiResourceBindingsDesc
const
& desc);
40
41
private
:
42
HgiGLResourceBindings
() =
delete
;
43
HgiGLResourceBindings
& operator=(
const
HgiGLResourceBindings
&) =
delete
;
44
HgiGLResourceBindings
(
const
HgiGLResourceBindings
&) =
delete
;
45
};
46
47
48
PXR_NAMESPACE_CLOSE_SCOPE
49
50
#endif
HgiGLResourceBindings
Definition:
resourceBindings.h:25
HgiResourceBindings
Definition:
resourceBindings.h:173
api.h
HgiGL
Definition:
hgi.h:54
pxr.h
HGIGL_API
#define HGIGL_API
Definition:
api.h:23
HgiGLResourceBindings::~HgiGLResourceBindings
HGIGL_API ~HgiGLResourceBindings() override
HgiResourceBindingsDesc
Definition:
resourceBindings.h:146
resourceBindings.h
PXR_NAMESPACE_OPEN_SCOPE
PXR_NAMESPACE_CLOSE_SCOPE PXR_NAMESPACE_OPEN_SCOPE
Definition:
path.h:1425
HgiGLResourceBindings::BindResources
HGIGL_API void BindResources()
Binds the resources to GPU.
PXR_NAMESPACE_CLOSE_SCOPE
#define PXR_NAMESPACE_CLOSE_SCOPE
Definition:
pxr.h:74
pxr
imaging
hgiGL
resourceBindings.h
Generated on Wed Aug 27 2025 03:07:56 for HDK by
1.8.6