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/Managers/Headers/RenderPassManager.h

Diff revisions: vs.
  @@ -20,8 +20,8 @@
20 20
21 21 */
22 22
23 - #ifndef _RENDER_PASS_MANAGER_H_
24 - #define _RENDER_PASS_MANAGER_H_
23 + #ifndef _MANAGERS_RENDER_PASS_MANAGER_H_
24 + #define _MANAGERS_RENDER_PASS_MANAGER_H_
25 25
26 26 #include "core.h"
27 27 class RenderPass;
  @@ -40,16 +40,17 @@
40 40
41 41 public:
42 42 ///Call every renderqueue's render function in order
43 - void render(SceneRenderState* const sceneRenderState = NULL);
43 + void render(const SceneRenderState& sceneRenderState);
44 44 ///Add a new pass with the specified key
45 45 void addRenderPass(RenderPass* const renderPass, U8 orderKey);
46 46 ///Remove a renderpass from the manager, optionally not deleting it
47 47 void removeRenderPass(RenderPass* const renderPass,bool deleteRP = true);
48 48 ///Find a renderpass by name and remove it from the manager, optionally not deleting it
49 49 void removeRenderPass(const std::string& name,bool deleteRP = true);
50 - U16 getLastTotalBinSize(U8 renderPassId);
50 + U16 getLastTotalBinSize(U8 renderPassId) const;
51 51
52 52 private:
53 + RenderPassManager();
53 54 ~RenderPassManager();
54 55 vectorImpl<RenderPassItem > _renderPasses;
55 56