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

Function uniformParameterNames

src/IECoreGL/bindings/ShaderBinding.cpp:52–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

50{
51
52static boost::python::list uniformParameterNames( const Shader &s )
53{
54 vector<string> n;
55 s.uniformParameterNames( n );
56 boost::python::list result;
57 for( unsigned int i=0; i<n.size(); i++ )
58 {
59 result.append( n[i] );
60 }
61 return result;
62}
63
64static object parameterToObject( const Shader::Parameter *p )
65{

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
uniformParameterNamesMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected