/** Draws multiple instances of a batch of primitives. A shader must be active. */
void draw_instanced(const Batch &, unsigned);
+private:
+ void apply_batch(const Batch &);
+
+public:
/** Dispatches a compute operation. */
void dispatch(unsigned, unsigned = 1, unsigned = 1);