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
82 HgiBufferHandleVector buffers;
83 std::vector<uint32_t> offsets;
84 std::vector<uint32_t> sizes;
85 HgiBindResourceType resourceType;
86 uint32_t bindingIndex;
87 HgiShaderStage stageUsage;
89 using HgiBufferBindDescVector = std::vector<HgiBufferBindDesc>;
128 HgiTextureHandleVector textures;
129 HgiSamplerHandleVector samplers;
130 HgiBindResourceType resourceType;
131 uint32_t bindingIndex;
132 HgiShaderStage stageUsage;
134 using HgiTextureBindDescVector = std::vector<HgiTextureBindDesc>;
162 std::string debugName;
163 HgiBufferBindDescVector buffers;
164 HgiTextureBindDescVector textures;
207 using HgiResourceBindingsHandleVector = std::vector<HgiResourceBindingsHandle>;
229 , byteOffset(byteOffset)
239 using HgiVertexBufferBindingVector = std::vector<HgiVertexBufferBinding>;
242 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.