15 #include <vsg/core/Inherit.h>
28 Descriptor(uint32_t in_dstBinding, uint32_t in_dstArrayElement, VkDescriptorType in_descriptorType);
32 uint32_t dstArrayElement;
33 VkDescriptorType descriptorType;
37 void read(
Input& input)
override;
38 void write(
Output& output)
const override;
41 virtual void compile(
Context& ) {}
43 virtual void assignTo(
Context& context, VkWriteDescriptorSet& wds)
const;
45 virtual uint32_t getNumDescriptors()
const {
return 1; }
49 using Descriptors = std::vector<vsg::ref_ptr<vsg::Descriptor>>;
Definition: Descriptor.h:26
uint32_t dstBinding
Common VkWriteDescriptorSet settings.
Definition: Descriptor.h:31
int compare(const Object &rhs_object) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...