X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Ftexturing.h;h=2b409d64fb713ee221a4842110832258bd92f711;hb=refs%2Fheads%2Fmaster;hp=daeb2bb812d7bfe62331951070a9fb4977d18490;hpb=f1b12c992db974c679d85ae6ec22cd318199d0d5;p=libs%2Fgl.git diff --git a/source/texturing.h b/source/texturing.h deleted file mode 100644 index daeb2bb8..00000000 --- a/source/texturing.h +++ /dev/null @@ -1,44 +0,0 @@ -#ifndef MSP_GL_TEXTURING_H_ -#define MSP_GL_TEXTURING_H_ - -#include -#include "bindable.h" - -namespace Msp { -namespace GL { - -class Texture; - -class Texturing: public Bindable -{ -private: - struct Attachment - { - const Texture *tex; - - Attachment(); - }; - - std::vector attachments; - -public: - ~Texturing(); - - void attach(unsigned, const Texture &); - void detach(unsigned); -private: - void set_attachment(unsigned, const Texture *); - void bind_attachment(unsigned) const; - - static void unbind_attachment(unsigned); - -public: - void bind() const; - - static void unbind(); -}; - -} // namespace GL -} // namespace Msp; - -#endif