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/attribute.h')
-rw-r--r--intern/cycles/hydra/attribute.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/intern/cycles/hydra/attribute.h b/intern/cycles/hydra/attribute.h
new file mode 100644
index 00000000000..3277f97f44d
--- /dev/null
+++ b/intern/cycles/hydra/attribute.h
@@ -0,0 +1,21 @@
+/* SPDX-License-Identifier: Apache-2.0
+ * Copyright 2022 NVIDIA Corporation
+ * Copyright 2022 Blender Foundation */
+
+#pragma once
+
+#include "hydra/config.h"
+#include "scene/attribute.h"
+
+#include <pxr/base/vt/value.h>
+#include <pxr/imaging/hd/types.h>
+
+HDCYCLES_NAMESPACE_OPEN_SCOPE
+
+void ApplyPrimvars(CCL_NS::AttributeSet &attributes,
+ const CCL_NS::ustring &name,
+ PXR_NS::VtValue value,
+ CCL_NS::AttributeElement elem,
+ CCL_NS::AttributeStandard std);
+
+HDCYCLES_NAMESPACE_CLOSE_SCOPE