| 48 | { |
| 49 | |
| 50 | static python::tuple loadSource( ShaderLoader &s, const std::string &name ) |
| 51 | { |
| 52 | std::string vertexSource, geometrySource, fragmentSource; |
| 53 | s.loadSource( name, vertexSource, geometrySource, fragmentSource ); |
| 54 | return python::make_tuple( vertexSource, geometrySource, fragmentSource ); |
| 55 | } |
| 56 | |
| 57 | void bindShaderLoader() |
| 58 | { |