Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 908 vs 909 for /trunk/Source Code/Rendering/RenderPass/Headers/RenderPassCuller.h

Diff revisions: vs.
  @@ -44,6 +44,7 @@
44 44 class Task;
45 45 class Camera;
46 46 class SceneGraph;
47 + class PlatformContext;
47 48 enum class RenderStage : U32;
48 49
49 50 FWD_DECLARE_MANAGED_CLASS(SceneGraphNode);
  @@ -67,7 +68,8 @@
67 68 VisibleNodeList& getNodeCache(RenderStage stage);
68 69 const VisibleNodeList& getNodeCache(RenderStage stage) const;
69 70
70 - void frustumCull(SceneGraph& sceneGraph,
71 + void frustumCull(PlatformContext& context,
72 + SceneGraph& sceneGraph,
71 73 const SceneState& sceneState,
72 74 RenderStage stage,
73 75 const CullingFunction& cullingFunction);
  @@ -89,8 +91,6 @@
89 91 RenderStage stage,
90 92 VisibleNodeList& nodes) const;
91 93
92 - U32 stageToCacheIndex(RenderStage stage) const;
93 -
94 94 protected:
95 95 std::array<CullingFunction, to_base(RenderStage::COUNT)> _cullingFunction;
96 96 std::array<VisibleNodeList, to_base(RenderStage::COUNT)> _visibleNodes;