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:
authorBrecht Van Lommel <brecht@blender.org>2022-04-17 08:01:13 +0300
committerBrecht Van Lommel <brecht@blender.org>2022-04-29 20:19:19 +0300
commit9b92ce9dc00971cd9f7f0d0ba6109a9cba2090bd (patch)
treeba6189d6c4a8872f4cc48a88c5a39730012c44b2 /intern/cycles/hydra/file_reader.h
parent060a50a5f72a0ccdb754bf155aa2ed394a1bcda5 (diff)
Cycles: add USD as a file format for Cycles standalone rendering
Long term, this should replace the XML format. This reuses the Hydra render delegate implementation, and so supports the same features. The same command line options and GUI work for both XML and USD also. The implementation of this is still disabled, waiting for some refactoring of USD library linking. However we want the Cycles code to be in sync between repositories for the 3.2 release. Ref T96731
Diffstat (limited to 'intern/cycles/hydra/file_reader.h')
-rw-r--r--intern/cycles/hydra/file_reader.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/intern/cycles/hydra/file_reader.h b/intern/cycles/hydra/file_reader.h
new file mode 100644
index 00000000000..c3d6f0f3487
--- /dev/null
+++ b/intern/cycles/hydra/file_reader.h
@@ -0,0 +1,17 @@
+/* SPDX-License-Identifier: Apache-2.0
+ * Copyright 2011-2022 Blender Foundation */
+
+#pragma once
+
+#include "hydra/config.h"
+
+#include "session/session.h"
+
+HDCYCLES_NAMESPACE_OPEN_SCOPE
+
+class HdCyclesFileReader {
+ public:
+ static void read(Session *session, const char *filepath, const bool use_camera = true);
+};
+
+HDCYCLES_NAMESPACE_CLOSE_SCOPE