32 DescriptorImage(
ref_ptr<Sampler> sampler,
ref_ptr<T> image, uint32_t in_dstBinding = 0, uint32_t in_dstArrayElement = 0, VkDescriptorType in_descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER) :
35 explicit DescriptorImage(
const ref_ptr<ImageInfo> imageInfo, uint32_t in_dstBinding = 0, uint32_t in_dstArrayElement = 0, VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER);
36 explicit DescriptorImage(
const ImageInfoList& in_imageInfoList, uint32_t in_dstBinding = 0, uint32_t in_dstArrayElement = 0, VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER);
41 void compile(
Context& context)
override;
42 void assignTo(
Context& context, VkWriteDescriptorSet& wds)
const override;
43 uint32_t getNumDescriptors()
const override;
49 void read(
Input& input)
override;
50 void write(
Output& output)
const override;
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,...