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

Method vtkglLineWidth

Rendering/OpenGL2/vtkOpenGLState.cxx:721–734  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

719}
720
721void vtkOpenGLState::vtkglLineWidth(GLfloat val)
722{
723 vtkOpenGLCheckStateMacro();
724 auto& cs = this->Stack.top();
725
726#ifndef NO_CACHE
727 if (cs.LineWidth != val)
728#endif
729 {
730 cs.LineWidth = val;
731 ::glLineWidth(val);
732 }
733 vtkCheckOpenGLErrorsWithStack("glLineWidth");
734}
735
736void vtkOpenGLState::vtkglStencilMask(GLuint mask)
737{

Callers 7

DrawIBOMethod · 0.80
RenderPieceDrawMethod · 0.80
RenderOverlayMethod · 0.80
PreDrawMethod · 0.80
DrawPolyMethod · 0.80
DrawLinesMethod · 0.80
SetLineWidthMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected