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

Method vtkglPointSize

Rendering/OpenGL2/vtkOpenGLState.cxx:704–719  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

702}
703
704void vtkOpenGLState::vtkglPointSize(GLfloat val)
705{
706 vtkOpenGLCheckStateMacro();
707 auto& cs = this->Stack.top();
708
709#ifndef NO_CACHE
710 if (cs.PointSize != val)
711#endif
712 {
713 cs.PointSize = val;
714#ifndef GL_ES_VERSION_3_0
715 ::glPointSize(val);
716#endif
717 }
718 vtkCheckOpenGLErrorsWithStack("glPointSize");
719}
720
721void vtkOpenGLState::vtkglLineWidth(GLfloat val)
722{

Callers 9

DrawIBOMethod · 0.80
RenderPieceStartMethod · 0.80
RenderPieceDrawMethod · 0.80
GlyphRenderMethod · 0.80
RenderInternalMethod · 0.80
RenderOverlayMethod · 0.80
PreDrawMethod · 0.80
DrawPointsMethod · 0.80
SetPointSizeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected