24 #ifndef PXR_IMAGING_HGI_RESOURCEBINDINGS_H 25 #define PXR_IMAGING_HGI_RESOURCEBINDINGS_H 28 #include "pxr/imaging/hgi/api.h" 29 #include "pxr/imaging/hgi/buffer.h" 30 #include "pxr/imaging/hgi/enums.h" 31 #include "pxr/imaging/hgi/handle.h" 32 #include "pxr/imaging/hgi/sampler.h" 33 #include "pxr/imaging/hgi/texture.h" 34 #include "pxr/imaging/hgi/types.h" 40 PXR_NAMESPACE_OPEN_SCOPE
84 HgiBufferHandleVector buffers;
85 std::vector<uint32_t> offsets;
86 std::vector<uint32_t> sizes;
87 HgiBindResourceType resourceType;
88 uint32_t bindingIndex;
89 HgiShaderStage stageUsage;
92 using HgiBufferBindDescVector = std::vector<HgiBufferBindDesc>;
133 HgiTextureHandleVector textures;
134 HgiSamplerHandleVector samplers;
135 HgiBindResourceType resourceType;
136 uint32_t bindingIndex;
137 HgiShaderStage stageUsage;
140 using HgiTextureBindDescVector = std::vector<HgiTextureBindDesc>;
168 std::string debugName;
169 HgiBufferBindDescVector buffers;
170 HgiTextureBindDescVector textures;
213 using HgiResourceBindingsHandleVector = std::vector<HgiResourceBindingsHandle>;
235 , byteOffset(byteOffset)
245 using HgiVertexBufferBindingVector = std::vector<HgiVertexBufferBinding>;
248 PXR_NAMESPACE_CLOSE_SCOPE
HGI_API HgiResourceBindingsDesc const & GetDescriptor() const
The descriptor describes the object.
AR_API bool operator!=(const ArAssetInfo &lhs, const ArAssetInfo &rhs)
AR_API bool operator==(const ArAssetInfo &lhs, const ArAssetInfo &rhs)
Represents a collection of buffers, texture and vertex attributes that will be used by an cmds object...
Describes the binding information of a buffer (or array of buffers).
Describes the binding information of a texture (or array of textures).
Describes a set of resources that are bound to the GPU during encoding.
Describes a buffer to be bound during encoding.