| 62 | } |
| 63 | |
| 64 | void NodeSubclassingApp::draw() |
| 65 | { |
| 66 | gl::clear(); |
| 67 | |
| 68 | if( mMonitorNode && mMonitorNode->isEnabled() ) { |
| 69 | Rectf scopeRect( 10, 10, (float)getWindowWidth() - 10, (float)getWindowHeight() - 10 ); |
| 70 | drawAudioBuffer( mMonitorNode->getBuffer(), scopeRect, true, Color( 0.9f, 0.4f, 0 ) ); |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | CINDER_APP( NodeSubclassingApp, RendererGl( RendererGl::Options().msaa( 8 ) ) ) |
nothing calls this directly
no test coverage detected