diff options
author | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2019-08-14 22:50:43 +0800 |
commit | 15740faf9fe9fe4be08965098bbf2947e096aeeb (patch) | |
tree | a730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Camera/SceneCulling.h |
Diffstat (limited to 'Runtime/Camera/SceneCulling.h')
-rw-r--r-- | Runtime/Camera/SceneCulling.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Runtime/Camera/SceneCulling.h b/Runtime/Camera/SceneCulling.h new file mode 100644 index 0000000..baae99e --- /dev/null +++ b/Runtime/Camera/SceneCulling.h @@ -0,0 +1,18 @@ +#pragma once + +#include "Runtime/Utilities/dynamic_array.h" + +struct CullingOutput; +struct SceneCullingParameters; +class IntermediateRenderer; +struct SceneNode; +class AABB; +class Sphere; +class IntermediateRenderers; + +void CullSceneWithUmbra (SceneCullingParameters& cullingParams, CullingOutput& output); +void CullSceneWithoutUmbra (const SceneCullingParameters& cullingParams, CullingOutput& output); + +bool IsNodeVisible (const SceneNode& node, const AABB& aabb, const SceneCullingParameters& params); + +void CullShadowCastersWithUmbra (const SceneCullingParameters& cullingParams, CullingOutput& output);
\ No newline at end of file |