forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPyModule.cpp
More file actions
43 lines (38 loc) · 1.3 KB
/
PyModule.cpp
File metadata and controls
43 lines (38 loc) · 1.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
//
// TM & (c) 2017 Lucasfilm Entertainment Company Ltd. and Lucasfilm Ltd.
// All rights reserved. See LICENSE.txt for license.
//
#include <PyMaterialX/PyMaterialX.h>
namespace py = pybind11;
void bindPyColorManagement(py::module& mod);
void bindPyShaderPort(py::module& mod);
void bindPyShader(py::module& mod);
void bindPyShaderGenerator(py::module& mod);
void bindPyGenContext(py::module& mod);
void bindPyHwShaderGenerator(py::module& mod);
void bindPyHwResourceBindingContext(py::module &mod);
void bindPyGenUserData(py::module& mod);
void bindPyGenOptions(py::module& mod);
void bindPyShaderStage(py::module& mod);
void bindPyShaderTranslator(py::module& mod);
void bindPyUtil(py::module& mod);
void bindPyTypeDesc(py::module& mod);
void bindPyUnitSystem(py::module& mod);
PYBIND11_MODULE(PyMaterialXGenShader, mod)
{
mod.doc() = "Module containing Python bindings for the MaterialXGenShader library";
bindPyColorManagement(mod);
bindPyShaderPort(mod);
bindPyShader(mod);
bindPyShaderGenerator(mod);
bindPyGenContext(mod);
bindPyHwShaderGenerator(mod);
bindPyGenOptions(mod);
bindPyGenUserData(mod);
bindPyShaderStage(mod);
bindPyShaderTranslator(mod);
bindPyUtil(mod);
bindPyTypeDesc(mod);
bindPyUnitSystem(mod);
bindPyHwResourceBindingContext(mod);
}