Class LinesProgram
- Namespace
- ScottPlot.OpenGL.GLPrograms
- Assembly
- ScottPlot.OpenGL.dll
A lines program which draws effeciently but does not allow line width customization.
public class LinesProgram : GLProgramBase, ILinesDrawProgram, IGLProgram, IDisposable
- Inheritance
-
LinesProgram
- Implements
- Inherited Members
- Extension Methods
Properties
FragmentShaderSource
protected override string FragmentShaderSource { get; }
Property Value
VertexShaderSource
protected override string VertexShaderSource { get; }
Property Value
Methods
SetColor(Color4)
public void SetColor(Color4 color)
Parameters
color
Color4
SetLineWidth(float)
public void SetLineWidth(float lineWidth)
Parameters
lineWidth
float
SetTransform(Matrix4d)
public void SetTransform(Matrix4d transform)
Parameters
transform
Matrix4d
SetViewPortSize(float, float)
public void SetViewPortSize(float width, float height)