X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fobject.h;fp=source%2Fobject.h;h=7820d29c366df0b1392471c3e8220ce7f8fe728d;hp=8a707665c8871132e4c555f8a9fc88b5108a10c6;hb=3787ba0acb816e99eb7fa113e04760560bfcae39;hpb=7699570b9a07ef1fbe2b3b8badfa923de2fdd0a1 diff --git a/source/object.h b/source/object.h index 8a707665..7820d29c 100644 --- a/source/object.h +++ b/source/object.h @@ -66,6 +66,10 @@ public: called before and after drawing the mesh. */ virtual void render(Renderer &, const ObjectInstance &, const Tag & = Tag()) const; +protected: + virtual void setup_render(Renderer &, const Tag &) const { } + virtual void finish_render(Renderer &, const Tag &) const { } + private: const RenderPass *get_pass(const Tag &) const; };