15#include <vsg/commands/Command.h>
16#include <vsg/nodes/Node.h>
17#include <vsg/state/BufferInfo.h>
24 class VSG_DECLSPEC InstanceDraw :
public Inherit<Command, InstanceDraw>
28 InstanceDraw(
const InstanceDraw& rhs,
const CopyOp& copyop = {});
32 uint32_t vertexCount = 0;
33 uint32_t firstVertex = 0;
35 uint32_t firstBinding = 0;
36 BufferInfoList arrays;
38 void assignArrays(
const DataList& in_arrays);
44 void read(
Input& input)
override;
45 void write(
Output& output)
const override;
47 void compile(
Context& context)
override;
51 virtual ~InstanceDraw();
CommandBuffer encapsulates VkCommandBuffer.
Definition CommandBuffer.h:30
Definition InstanceDraw.h:25
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,...
ref_ptr< Object > clone(const CopyOp ©op={}) const override
Definition InstanceDraw.h:41