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

Function SkipDraw

Rendering/ContextOpenGL2/vtkOpenGLContextDevice2D.cxx:131–135  ·  view source on GitHub ↗

------------------------------------------------------------------------------ Returns true when rendering the GL2PS background raster image. Vectorizable primitives should not be drawn during these passes.

Source from the content-addressed store, hash-verified

129// Returns true when rendering the GL2PS background raster image. Vectorizable
130// primitives should not be drawn during these passes.
131bool SkipDraw()
132{
133 vtkOpenGLGL2PSHelper* gl2ps = vtkOpenGLGL2PSHelper::GetInstance();
134 return gl2ps && gl2ps->GetActiveState() == vtkOpenGLGL2PSHelper::Background;
135}
136
137//------------------------------------------------------------------------------
138// Releases the current shader program if it is inconsistent with the GL2PS

Callers 11

DrawPolyMethod · 0.85
DrawLinesMethod · 0.85
DrawPointsMethod · 0.85
DrawQuadMethod · 0.85
CoreDrawTrianglesMethod · 0.85
DrawQuadStripMethod · 0.85
DrawPolygonMethod · 0.85
DrawColoredPolygonMethod · 0.85
DrawEllipseWedgeMethod · 0.85
DrawEllipticArcMethod · 0.85
DrawPolyDataMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected