X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fenvironmentmap.h;fp=source%2Feffects%2Fenvironmentmap.h;h=ff3d6c425414c97ddce3d41e0ebbaf29abee90dc;hb=55e3f2d494d939280a4ea48676fd17ca2342b457;hp=56c76c459f2b6d84811fb52aeea9cea3c16a4587;hpb=18449fc11c620be7b3115f28a5edfb57eb5985ef;p=libs%2Fgl.git diff --git a/source/effects/environmentmap.h b/source/effects/environmentmap.h index 56c76c45..ff3d6c42 100644 --- a/source/effects/environmentmap.h +++ b/source/effects/environmentmap.h @@ -48,7 +48,12 @@ public: EnvironmentMap(Resources &, unsigned size, Renderable &rend, Renderable &env); void set_depth_clip(float, float); + + /** Sets the interval in frames between environment map updates. A value of + 0 means an update is only done when manually requested. */ void set_update_interval(unsigned); + + /** Request that the environment map is updated on the next frame. */ void queue_update(); virtual void setup_frame(Renderer &);