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

Method EnableDepthBuffer

Rendering/ContextOpenGL2/vtkOpenGLContextDevice3D.cxx:639–643  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

637}
638
639void vtkOpenGLContextDevice3D::EnableDepthBuffer()
640{
641 vtkOpenGLState* ostate = this->RenderWindow->GetState();
642 ostate->vtkglEnable(GL_DEPTH_TEST);
643}
644
645void vtkOpenGLContextDevice3D::DisableDepthBuffer()
646{

Callers 4

DrawPolyMethod · 0.95
DrawLinesMethod · 0.95
DrawPointsMethod · 0.95
DrawTriangleMeshMethod · 0.95

Calls 2

vtkglEnableMethod · 0.80
GetStateMethod · 0.45

Tested by

no test coverage detected