X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;ds=sidebyside;f=source%2Frenderpass.h;h=9e704376a446b56abb056edf0d1aab803a269f7d;hb=bec07999d95b76f4b47cffcc564d0cd0afc0435e;hp=7a2f65688104015afe9650b4b5b6e5814a84a95f;hpb=b4b7ee4b3b767b8cc097ffe8205c71f3afbe5d39;p=libs%2Fgl.git diff --git a/source/renderpass.h b/source/renderpass.h index 7a2f6568..9e704376 100644 --- a/source/renderpass.h +++ b/source/renderpass.h @@ -11,6 +11,7 @@ class Material; class Program; class ProgramData; class Renderer; +class Sampler; class Texture; class Texturing; @@ -46,10 +47,15 @@ private: { private: unsigned index; + const Texture *tex; + const Sampler *samp; public: TextureLoader(Texturing &, unsigned, Collection *); private: + virtual void finish(); + + void sampler(const std::string &); void texture(const std::string &); };