Files
SDL3CPlusPlus/MaterialX/source/PyMaterialX/PyMaterialXGenMsl/PyModule.cpp
2026-01-06 13:25:49 +00:00

23 lines
586 B
C++

//
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#include <PyMaterialX/PyMaterialX.h>
namespace py = pybind11;
void bindPyMslShaderGenerator(py::module& mod);
void bindPyMslResourceBindingContext(py::module &mod);
PYBIND11_MODULE(PyMaterialXGenMsl, mod)
{
mod.doc() = "Shader generation using the Metal Shading Language.";
// PyMaterialXGenMsl depends on types defined in PyMaterialXGenShader
PYMATERIALX_IMPORT_MODULE(PyMaterialXGenShader);
bindPyMslShaderGenerator(mod);
bindPyMslResourceBindingContext(mod);
}