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:
Diffstat (limited to 'intern/cycles/hydra/render_delegate.h')
-rw-r--r--intern/cycles/hydra/render_delegate.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/intern/cycles/hydra/render_delegate.h b/intern/cycles/hydra/render_delegate.h
index 7c5ee22e9d6..dc7f21a6481 100644
--- a/intern/cycles/hydra/render_delegate.h
+++ b/intern/cycles/hydra/render_delegate.h
@@ -11,6 +11,18 @@
HDCYCLES_NAMESPACE_OPEN_SCOPE
+// clang-format off
+#define HD_CYCLES_RENDER_SETTINGS_TOKENS \
+ (stageMetersPerUnit) \
+ ((device, "cycles:device")) \
+ ((threads, "cycles:threads")) \
+ ((timeLimit, "cycles:time_limit")) \
+ ((samples, "cycles:samples")) \
+ ((sampleOffset, "cycles:sample_offset"))
+// clang-format on
+
+TF_DECLARE_PUBLIC_TOKENS(HdCyclesRenderSettingsTokens, HD_CYCLES_RENDER_SETTINGS_TOKENS);
+
class HdCyclesDelegate final : public PXR_NS::HdRenderDelegate {
public:
HdCyclesDelegate(const PXR_NS::HdRenderSettingsMap &settingsMap,