15 #include <vsg/commands/Command.h>
16 #include <vsg/state/BufferInfo.h>
17 #include <vsg/state/Descriptor.h>
18 #include <vsg/vk/vk_buffer.h>
24 extern VSG_DECLSPEC VkIndexType computeIndexType(
const Data* indices);
35 VkIndexType indexType = VK_INDEX_TYPE_UINT16;
42 void read(
Input& input)
override;
43 void write(
Output& output)
const override;
45 void compile(
Context& context)
override;
BindIndexBuffer command encapsulates vkCmdBindIndexBuffer call and associated settings.
Definition: BindIndexBuffer.h:28
int compare(const Object &rhs) const override
compare two objects, return -1 if this object is less than rhs, return 0 if it's equal,...
CommandBuffer encapsulates VkCommandBuffer.
Definition: CommandBuffer.h:27