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

27 lines
697 B
C++

//
// Copyright Contributors to the MaterialX Project
// SPDX-License-Identifier: Apache-2.0
//
#include <PyMaterialX/PyMaterialX.h>
namespace py = pybind11;
void bindPyGlslProgram(py::module& mod);
void bindPyGlslRenderer(py::module& mod);
void bindPyGLTextureHandler(py::module& mod);
void bindPyTextureBaker(py::module& mod);
PYBIND11_MODULE(PyMaterialXRenderGlsl, mod)
{
mod.doc() = "Rendering support for the OpenGL Shading Language.";
// PyMaterialXRenderGlsl depends on types defined in PyMaterialXRender
PYMATERIALX_IMPORT_MODULE(PyMaterialXRender);
bindPyGlslProgram(mod);
bindPyGlslRenderer(mod);
bindPyGLTextureHandler(mod);
bindPyTextureBaker(mod);
}