X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fmaterials%2Frenderpass.h;h=96b892dff07295275b4f1cd66e17f071a5d8f1a3;hb=f2ad2730858046b08e8147297fa01bf3499b86a3;hp=9e704376a446b56abb056edf0d1aab803a269f7d;hpb=7aaec9a70b8d7733429bec043f8e33e02956f266;p=libs%2Fgl.git diff --git a/source/materials/renderpass.h b/source/materials/renderpass.h index 9e704376..96b892df 100644 --- a/source/materials/renderpass.h +++ b/source/materials/renderpass.h @@ -31,6 +31,8 @@ public: private: void init(); + static std::string get_shader_name(const std::string &); + void material_inline(); void material(const std::string &); void shader(const std::string &); @@ -88,7 +90,7 @@ public: void set_material(const Material *); const Material *get_material() const { return material.get(); } const std::string &get_material_slot_name() const { return material_slot; } - void set_texture(unsigned, const Texture *); + void set_texture(unsigned, const Texture *, const Sampler * = 0); const Texturing *get_texturing() const { return texturing; } int get_texture_index(const std::string &) const; void set_back_faces(bool);