Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 167 vs 168 for /trunk/Source Code/Rendering/Lighting/ShadowMapping/Headers/CubeShadowMap.h

Diff revisions: vs.
  @@ -29,15 +29,15 @@
29 29 public:
30 30 CubeShadowMap(Light* light);
31 31 ~CubeShadowMap();
32 - void render(SceneRenderState* renderState, boost::function0<void> sceneRenderFunction);
32 + void render(const SceneRenderState& renderState, boost::function0<void> sceneRenderFunction);
33 33
34 34 ///Get the current shadow mapping tehnique
35 35 ShadowType getShadowMapType() const {return SHADOW_TYPE_CubeMap;}
36 36 ///Update depth maps
37 - void resolution(U16 resolution,SceneRenderState* sceneRenderState);
37 + void resolution(U16 resolution, const SceneRenderState& renderState);
38 38 void previewShadowMaps() {}
39 39 protected:
40 - void renderInternal(SceneRenderState* renderState) const;
40 + void renderInternal(const SceneRenderState& renderState) const;
41 41 };
42 42
43 43 #endif