X-Git-Url: http://git.tdb.fi/?p=libs%2Fgl.git;a=blobdiff_plain;f=source%2Fmaterials%2Flighting.h;h=658d7476a794843650188cd6c5ca7a5c7afcc141;hp=d4e6b5942cc09d660857d661b2b8bb700e4d71e4;hb=ae45c0397e2cb8f0a01f2f31d01c95ff3870271e;hpb=5008778dbb1840bf7c6d479800d2b932f8386fb2 diff --git a/source/materials/lighting.h b/source/materials/lighting.h index d4e6b594..658d7476 100644 --- a/source/materials/lighting.h +++ b/source/materials/lighting.h @@ -24,7 +24,6 @@ public: static ActionMap shared_actions; public: - Loader(Lighting &); Loader(Lighting &, Collection &); private: @@ -78,6 +77,8 @@ public: /** Detaches a light source. If the light was not attached, does nothing. */ void detach(const Light &); + int find_light_index(const Light &) const; + const ProgramData &get_shader_data() const; void set_debug_name(const std::string &);