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/ParallelSplitShadowMaps.h

Diff revisions: vs.
  @@ -32,14 +32,14 @@
32 32 public:
33 33 PSShadowMaps(Light* light);
34 34 ~PSShadowMaps();
35 - void render(SceneRenderState* sceneRenderState, boost::function0<void> sceneRenderFunction);
35 + void render(const SceneRenderState& renderState, boost::function0<void> sceneRenderFunction);
36 36 ///Get the current shadow mapping tehnique
37 37 ShadowType getShadowMapType() const {return SHADOW_TYPE_PSSM;}
38 38 ///Update depth maps
39 - void resolution(U16 resolution,SceneRenderState* sceneRenderState);
39 + void resolution(U16 resolution, const SceneRenderState& renderState);
40 40 void previewShadowMaps();
41 41 protected:
42 - void renderInternal(SceneRenderState* renderState) const;
42 + void renderInternal(const SceneRenderState& renderState) const;
43 43 void createJitterTexture(I32 size, I32 samples_u, I32 samples_v);
44 44 //OGRE! I know .... sorry -Ionut
45 45 void calculateSplitPoints(U8 splitCount, F32 nearDist, F32 farDist, F32 lambda = 0.95);