Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClément Foucault <foucault.clem@gmail.com>2022-03-18 21:03:48 +0300
committerClément Foucault <foucault.clem@gmail.com>2022-03-18 22:49:09 +0300
commit59f53f5802276c4ff1d8e5422a76e54f94383626 (patch)
tree2de805a6a8ddca7615885910c89a9e72f2b69999 /source/blender/draw/engines/eevee_next/eevee_engine.h
parent37b93b5df85c9e7acac989c86cf658bf8a0bc1e5 (diff)
EEVEE: Add new experimental "EEVEE Next" option
This is supposed to hold the latest improvement from the EEVEE rewrite branch. Note that a restart is necessary in order for the engine to appear. The registration code is a bit convoluted as it needs to be after the WM_init.
Diffstat (limited to 'source/blender/draw/engines/eevee_next/eevee_engine.h')
-rw-r--r--source/blender/draw/engines/eevee_next/eevee_engine.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source/blender/draw/engines/eevee_next/eevee_engine.h b/source/blender/draw/engines/eevee_next/eevee_engine.h
new file mode 100644
index 00000000000..9cee11bbba8
--- /dev/null
+++ b/source/blender/draw/engines/eevee_next/eevee_engine.h
@@ -0,0 +1,19 @@
+/* SPDX-License-Identifier: GPL-2.0-or-later
+ * Copyright 2016 Blender Foundation. */
+
+/** \file
+ * \ingroup DNA
+ */
+
+#pragma once
+
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+extern DrawEngineType draw_engine_eevee_next_type;
+extern RenderEngineType DRW_engine_viewport_eevee_next_type;
+
+#ifdef __cplusplus
+}
+#endif