MCPcopy Create free account
hub / github.com/ImageEngine/cortex / loadSource

Function loadSource

src/IECoreGL/bindings/ShaderLoaderBinding.cpp:50–55  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

48{
49
50static 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
57void bindShaderLoader()
58{

Callers 1

loadMethod · 0.85

Calls 1

loadSourceMethod · 0.45

Tested by

no test coverage detected