MCPcopy Create free account
hub / github.com/Kitware/VTK / ClearFrontDestination

Method ClearFrontDestination

Rendering/OpenGL2/vtkDualDepthPeelingPass.cxx:1270–1277  ·  view source on GitHub ↗

------------------------------------------------------------------------------

Source from the content-addressed store, hash-verified

1268
1269//------------------------------------------------------------------------------
1270void vtkDualDepthPeelingPass::ClearFrontDestination()
1271{
1272 TIME_FUNCTION(vtkDualDepthPeelingPass::ClearFrontDestination);
1273 annotate("ClearFrontDestination()");
1274 this->ActivateDrawBuffer(this->FrontDestination);
1275 this->State->vtkglClearColor(0.f, 0.f, 0.f, 0.f);
1276 this->State->vtkglClear(GL_COLOR_BUFFER_BIT);
1277}
1278
1279//------------------------------------------------------------------------------
1280void vtkDualDepthPeelingPass::CopyFrontSourceToFrontDestination()

Callers 1

Calls 4

ActivateDrawBufferMethod · 0.80
vtkglClearColorMethod · 0.80
vtkglClearMethod · 0.80
annotateFunction · 0.70

Tested by

no test coverage detected