Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 330 vs 331 for /trunk/Source Code/Rendering/Headers/Renderer.h

Diff revisions: vs.
  @@ -33,7 +33,8 @@
33 33 RendererType_PLACEHOLDER = 2
34 34 };
35 35
36 - ///An abstract renderer used to switch between different rendering techniques: ForwardPlus, Deferred Shading, etc
36 + /// A n abstract renderer used to switch between different rendering techniques:
37 + /// ForwardPlus, Deferred Shading, etc
37 38 class Renderer {
38 39 public:
39 40 Renderer(RendererType type) : _type(type),
  @@ -45,8 +46,12 @@
45 46 {
46 47 }
47 48
48 - virtual void processVisibleNodes(const vectorImpl<SceneGraphNode* >& visibleNodes, const GFXDevice::GPUBlock& gpuBlock) = 0;
49 - virtual void render(const DELEGATE_CBK<>& renderCallback, const SceneRenderState& sceneRenderState) = 0;
49 + virtual void processVisibleNodes(const vectorImpl<SceneGraphNode* >& visibleNodes,
50 + const GFXDevice::GPUBlock& gpuBlock) = 0;
51 +
52 + virtual void render(const DELEGATE_CBK<>& renderCallback,
53 + const SceneRenderState& sceneRenderState) = 0;
54 +
50 55 virtual void updateResolution(U16 width, U16 height) = 0;
51 56
52 57 inline RendererType getType() const { return _type; }