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

Method addVertexAttribute

src/IECoreGL/Primitive.cpp:380–383  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

378}
379
380void Primitive::addVertexAttribute( const std::string &name, IECore::ConstDataPtr data )
381{
382 m_vertexAttributes[name] = data->copy();
383}
384
385ConstBufferPtr Primitive::getVertexBuffer( const std::string &name ) const
386{

Callers 2

boundSetupMethod · 0.45

Calls 1

copyMethod · 0.45

Tested by

no test coverage detected