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

Function vertexAttributeNames

src/IECoreGL/bindings/ShaderBinding.cpp:81–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81static boost::python::list vertexAttributeNames( const Shader &s )
82{
83 vector<string> n;
84 s.vertexAttributeNames( n );
85 boost::python::list result;
86 for( unsigned int i=0; i<n.size(); i++ )
87 {
88 result.append( n[i] );
89 }
90 return result;
91}
92
93static object vertexAttribute( const Shader &s, const std::string &n )
94{

Callers

nothing calls this directly

Calls 3

appendMethod · 0.80
vertexAttributeNamesMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected