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

Diff revisions: vs.
  @@ -37,22 +37,10 @@
37 37 public:
38 38 Renderer(RendererType type) : _type(type) {}
39 39 virtual ~Renderer() {}
40 - virtual void render(boost::function0<void> renderCallback, SceneRenderState* const sceneRenderState) = 0;
40 + virtual void render(boost::function0<void> renderCallback, const SceneRenderState& sceneRenderState) = 0;
41 41 virtual void toggleDebugView() = 0;
42 42 inline RendererType getType() {return _type;}
43 - inline std::string getTypeToString(){
44 - switch(_type){
45 - default:
46 - case RENDERER_PLACEHOLDER:
47 - return "Unknown Renderer Type";
48 - case RENDERER_FORWARD:
49 - return "Forward Renderer";
50 - case RENDERER_DEFERRED_SHADING:
51 - return "Deferred Shading Renderer";
52 - case RENDERER_DEFERRED_LIGHTING:
53 - return "Deferred Lighting Renderer";
54 - }
55 - }
43 +
56 44 protected:
57 45 RendererType _type;
58 46 };