summaryrefslogtreecommitdiff
path: root/Runtime/Camera/Culler.h
diff options
context:
space:
mode:
authorchai <chaifix@163.com>2019-08-14 22:50:43 +0800
committerchai <chaifix@163.com>2019-08-14 22:50:43 +0800
commit15740faf9fe9fe4be08965098bbf2947e096aeeb (patch)
treea730ec236656cc8cab5b13f088adfaed6bb218fb /Runtime/Camera/Culler.h
+Unity Runtime codeHEADmaster
Diffstat (limited to 'Runtime/Camera/Culler.h')
-rw-r--r--Runtime/Camera/Culler.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/Runtime/Camera/Culler.h b/Runtime/Camera/Culler.h
new file mode 100644
index 0000000..19eafbb
--- /dev/null
+++ b/Runtime/Camera/Culler.h
@@ -0,0 +1,16 @@
+#ifndef CULLER_H
+#define CULLER_H
+
+#include "CullingParameters.h"
+
+struct CullResults;
+struct SceneCullingParameters;
+class IntermediateRenderers;
+namespace Unity { class GameObject; }
+
+void CullScene (SceneCullingParameters& cullingParameters, CullResults& cullResults);
+void CullIntermediateRenderersOnly (const SceneCullingParameters& cullingParameters, CullResults& results);
+
+bool IsGameObjectFiltered (Unity::GameObject& go, CullFiltering cullFilterMode);
+
+#endif