15#include <vsg/commands/Command.h>
16#include <vsg/nodes/Node.h>
17#include <vsg/state/BufferInfo.h>
24 class VSG_DECLSPEC InstanceDrawIndexed :
public Inherit<Command, InstanceDrawIndexed>
27 InstanceDrawIndexed();
28 InstanceDrawIndexed(
const InstanceDrawIndexed& rhs,
const CopyOp& copyop = {});
32 uint32_t indexCount = 0;
33 uint32_t firstIndex = 0;
34 uint32_t vertexOffset = 0;
36 uint32_t firstBinding = 0;
37 BufferInfoList arrays;
40 void assignArrays(
const DataList& in_arrays);
47 void read(
Input& input)
override;
48 void write(
Output& output)
const override;
50 void compile(
Context& context)
override;
54 virtual ~InstanceDrawIndexed();
56 VkIndexType indexType = VK_INDEX_TYPE_UINT16;
CommandBuffer encapsulates VkCommandBuffer.
Definition CommandBuffer.h:30
Definition InstanceDrawIndexed.h:25
ref_ptr< Object > clone(const CopyOp ©op={}) const override
Definition InstanceDrawIndexed.h:44
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,...