15 #include <vsg/state/Descriptor.h>
16 #include <vsg/state/ImageInfo.h>
31 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) :
34 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);
35 explicit DescriptorImage(
const ImageInfoList& in_imageInfoList, uint32_t in_dstBinding = 0, uint32_t in_dstArrayElement = 0, VkDescriptorType descriptorType = VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER);
42 void read(
Input& input)
override;
43 void write(
Output& output)
const override;
45 void compile(
Context& context)
override;
47 void assignTo(
Context& context, VkWriteDescriptorSet& wds)
const override;
49 uint32_t getNumDescriptors()
const override;
Definition: DescriptorImage.h:24
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,...
ImageInfoList imageInfoList
VkWriteDescriptorSet.pImageInfo settings.
Definition: DescriptorImage.h:38