Bindings are used for buffers or textures, it simply associates a binding type with a binding location.
More...
#include <binding.h>
|
| enum | Type {
UNKNOWN
, DISPATCH
, DRAW_INDEX
, DRAW_INDEX_INSTANCE
,
DRAW_INDEX_INSTANCE_ARRAY
, VERTEX_ATTR
, INDEX_ATTR
, SSBO
,
BINDLESS_SSBO_RANGE
, UBO
, BINDLESS_UNIFORM
, UNIFORM
,
UNIFORM_ARRAY
, FALLBACK
, TEXTURE_2D
, ARRAY_OF_TEXTURE_2D
,
TEXTURE_FIELD
, TEXTURE_UDIM_ARRAY
, TEXTURE_UDIM_LAYOUT
, TEXTURE_PTEX_TEXEL
,
TEXTURE_PTEX_LAYOUT
, BINDLESS_TEXTURE_2D
, BINDLESS_ARRAY_OF_TEXTURE_2D
, BINDLESS_TEXTURE_FIELD
,
BINDLESS_TEXTURE_UDIM_ARRAY
, BINDLESS_TEXTURE_UDIM_LAYOUT
, BINDLESS_TEXTURE_PTEX_TEXEL
, BINDLESS_TEXTURE_PTEX_LAYOUT
,
PRIMVAR_REDIRECT
, FIELD_REDIRECT
, TRANSFORM_2D
} |
| |
| enum | Location { NOT_EXIST = 0xffff
} |
| |
Bindings are used for buffers or textures, it simply associates a binding type with a binding location.
Definition at line 30 of file binding.h.
◆ Location
◆ Type
◆ HdStBinding() [1/2]
◆ HdStBinding() [2/2]
| HdStBinding |
( |
Type |
type, |
|
|
int |
location, |
|
|
int |
textureUnit = 0 |
|
) |
| |
|
inline |
◆ GetLocation()
| int GetLocation |
( |
| ) |
const |
|
inline |
◆ GetTextureUnit()
| int GetTextureUnit |
( |
| ) |
const |
|
inline |
◆ GetType()
◆ GetValue()
◆ IsValid()
◆ operator<()
◆ Set()
| void Set |
( |
Type |
type, |
|
|
int |
location, |
|
|
int |
textureUnit |
|
) |
| |
|
inline |
The documentation for this class was generated from the following file: