7 #ifndef PXR_IMAGING_HGI_RESOURCEBINDINGS_H 8 #define PXR_IMAGING_HGI_RESOURCEBINDINGS_H 11 #include "pxr/imaging/hgi/api.h" 12 #include "pxr/imaging/hgi/buffer.h" 13 #include "pxr/imaging/hgi/enums.h" 14 #include "pxr/imaging/hgi/handle.h" 15 #include "pxr/imaging/hgi/sampler.h" 16 #include "pxr/imaging/hgi/texture.h" 17 #include "pxr/imaging/hgi/types.h" 23 PXR_NAMESPACE_OPEN_SCOPE
67 HgiBufferHandleVector buffers;
68 std::vector<uint32_t> offsets;
69 std::vector<uint32_t> sizes;
70 HgiBindResourceType resourceType;
71 uint32_t bindingIndex;
72 HgiShaderStage stageUsage;
75 using HgiBufferBindDescVector = std::vector<HgiBufferBindDesc>;
116 HgiTextureHandleVector textures;
117 HgiSamplerHandleVector samplers;
118 HgiBindResourceType resourceType;
119 uint32_t bindingIndex;
120 HgiShaderStage stageUsage;
123 using HgiTextureBindDescVector = std::vector<HgiTextureBindDesc>;
151 std::string debugName;
152 HgiBufferBindDescVector buffers;
153 HgiTextureBindDescVector textures;
196 using HgiResourceBindingsHandleVector = std::vector<HgiResourceBindingsHandle>;
218 , byteOffset(byteOffset)
228 using HgiVertexBufferBindingVector = std::vector<HgiVertexBufferBinding>;
231 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.