/* $Id$
This file is part of libmspgl
-Copyright © 2007 Mikko Rasa, Mikkosoft Productions
+Copyright © 2008-2011 Mikko Rasa, Mikkosoft Productions
Distributed under the LGPL
*/
#define TECHNIQUE_H_
#include "renderpass.h"
+#include "tag.h"
namespace Msp {
namespace GL {
class Material;
-class Tag;
class Texture;
/**
InheritLoader(Technique &, Collection &);
private:
- void texture(unsigned, const std::string &);
+ void texture(const std::string &, const std::string &);
};
typedef std::map<Tag, RenderPass> PassMap;
PassMap passes;
public:
+ RenderPass &add_pass(const GL::Tag &);
bool has_pass(const GL::Tag &) const;
const RenderPass &get_pass(const GL::Tag &) const;
const PassMap &get_passes() const { return passes; }