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

Method draw

test/ThresholdTest/src/ThresholdTestApp.cpp:150–164  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148}
149
150void ThresholdTestApp::draw()
151{
152 gl::clear( Color( 0.1f, 0.1f, 0.15f ) );
153
154 if( mTexture )
155 gl::draw( mTexture );
156
157 if( mRequestOpenDialog ) {
158 mRequestOpenDialog = false;
159 loadFile( getOpenFilePath() );
160 }
161
162 if( mShowGui )
163 drawGui();
164}
165
166void ThresholdTestApp::drawGui()
167{

Callers

nothing calls this directly

Calls 5

loadFileFunction · 0.85
getOpenFilePathFunction · 0.85
clearFunction · 0.50
ColorFunction · 0.50
drawFunction · 0.50

Tested by

no test coverage detected