15 #include <vsg/state/BufferView.h>
16 #include <vsg/state/Descriptor.h>
25 DescriptorTexelBufferView(uint32_t dstBinding, uint32_t dstArrayElement, VkDescriptorType descriptorType,
const BufferViewList& in_texelBufferViews);
32 void compile(
Context& context)
override;
34 void assignTo(
Context& context, VkWriteDescriptorSet& wds)
const override;
36 uint32_t getNumDescriptors()
const override {
return static_cast<uint32_t
>(texelBufferViews.size()); }
DescriptorTexelBufferView is a Descriptor class that encapsulates texelBufferViews used to set VkWrit...
Definition: DescriptorTexelBufferView.h:23
BufferViewList texelBufferViews
VkWriteDescriptorSet.pTexelBufferViews settings.
Definition: DescriptorTexelBufferView.h:28
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,...