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

30 lines
845 B
C++

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