X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Frender%2Frenderer.h;h=da2cf8bac866d8284a2fe4c6395a935f8eba5258;hb=d6a04ea0146ea58c13a10098957e1d48492e26c0;hp=3341d9aa061e038f3acb59c5515cc6f776c9d5d7;hpb=cebf1330ef6773b7b4496dc279ec02a7ca4351bb;p=libs%2Fgl.git diff --git a/source/render/renderer.h b/source/render/renderer.h index 3341d9aa..da2cf8ba 100644 --- a/source/render/renderer.h +++ b/source/render/renderer.h @@ -231,12 +231,16 @@ public: /** 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); /** Resolves multisample attachments from the active framebuffer into - target. */ - void resolve_multisample(Framebuffer &target); + their corresponding resolve attachments. */ + void resolve_multisample(); void begin_query(const QueryPool &, unsigned); void end_query(const QueryPool &, unsigned);