void set_texture(Tag, const Texture *, const Sampler * = 0);
void set_texture(Tag, const Texture *, int, const Sampler * = 0);
+ void set_storage_texture(Tag, const Texture *);
private:
template<typename T>
/** Draws multiple instances of a batch of primitives. A shader must be active. */
void draw_instanced(const Batch &, unsigned);
+ /** Dispatches a compute operation. */
+ void dispatch(unsigned, unsigned = 1, unsigned = 1);
+
/** Resolves multisample attachments from the active framebuffer into
target. */
void resolve_multisample(Framebuffer &target);