MCPcopy Create free account
hub / github.com/cinder/Cinder / removeDefine

Method removeDefine

src/cinder/gl/ShaderPreprocessor.cpp:418–424  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void ShaderPreprocessor::removeDefine( const std::string &define )
419{
420 mDefineDirectives.erase( remove_if( mDefineDirectives.begin(), mDefineDirectives.end(),
421 [&define]( const pair<string,string> &o ) {
422 return o.first == define;
423 } ), mDefineDirectives.end() );
424}
425
426void ShaderPreprocessor::clearDefines()
427{

Callers 1

Calls 3

eraseMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected