Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
11
using namespace MR;
12
13
void 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
renderToImage
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected