15 #include <vsg/commands/Command.h>
16 #include <vsg/state/BufferInfo.h>
17 #include <vsg/vk/CommandBuffer.h>
25 uint32_t instanceCount;
27 uint32_t firstInstance;
31 input.read(
"vertexCount", vertexCount);
32 input.read(
"instanceCount", instanceCount);
33 input.read(
"firstVertex", firstVertex);
34 input.read(
"firstInstance", firstInstance);
39 output.
write(
"vertexCount", vertexCount);
40 output.
write(
"instanceCount", instanceCount);
41 output.
write(
"firstVertex", firstVertex);
42 output.
write(
"firstInstance", firstInstance);
47 constexpr
bool has_read_write<DrawIndirectCommand>() {
return true; }
49 VSG_array(DrawIndirectCommandArray, DrawIndirectCommand);
virtual void write(size_t num, const int8_t *value)=0
write contiguous array of value(s)
Equivalent to VkDrawIndirectCommand that adds read/write support.
Definition: DrawIndirectCommand.h:23