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

Function fillFramebuffer

source/MRViewer/MRRenderToImage.cpp:13–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11using namespace MR;
12
13void fillFramebuffer( const Color& color )
14{
15 GL_EXEC( glClearColor( color.r, color.g, color.b, color.a ) );
16 GL_EXEC( glClear( GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT ) );
17}
18
19} // namespace
20

Callers 1

renderToImageFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected