MCPcopy Create free account
hub / github.com/MeshInspector/MeshLib / bind

Method bind

source/MRViewer/MRViewportGL.cpp:418–430  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

416}
417
418void ViewportGL::PickTextureFrameBuffer::bind( bool read )
419{
420 if ( framebuffer_ == 0 )
421 return;
422 if ( !read )
423 {
424 GL_EXEC( glBindFramebuffer( GL_FRAMEBUFFER, framebuffer_ ) );
425 }
426 else
427 {
428 GL_EXEC( glBindFramebuffer( GL_READ_FRAMEBUFFER, framebuffer_ ) );
429 }
430}
431
432}

Callers 1

pickObjectsInRect_Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected