ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.OpenGL.GLPrograms.LinesProgramCustom Class Reference

A lines program which allows customization of color and width. More...

Inheritance diagram for ScottPlot.OpenGL.GLPrograms.LinesProgramCustom:
ScottPlot.OpenGL.GLPrograms.GLProgramBase ScottPlot.OpenGL.GLPrograms.ILinesDrawProgram ScottPlot.OpenGL.GLPrograms.IGLProgram ScottPlot.OpenGL.GLPrograms.IGLProgram IDisposable IDisposable

Public Member Functions

void SetLineWidth (float lineWidth)
 
void SetViewPortSize (float width, float height)
 
void SetTransform (Matrix4d transform)
 
void SetColor (Color4 color)
 
- Public Member Functions inherited from ScottPlot.OpenGL.GLPrograms.GLProgramBase
 GLProgramBase ()
 
void Use ()
 
int GetAttribLocation (string attribName)
 
int GetUniformLocation (string attribName)
 
void GLFinish ()
 
void Dispose ()
 

Properties

override string VertexShaderSource [get]
 
override string GeometryShaderSource [get]
 
override string FragmentShaderSource [get]
 
- Properties inherited from ScottPlot.OpenGL.GLPrograms.GLProgramBase
virtual ? string VertexShaderSource [get]
 
virtual ? string GeometryShaderSource [get]
 
virtual ? string FragmentShaderSource [get]
 

Additional Inherited Members

- Protected Member Functions inherited from ScottPlot.OpenGL.GLPrograms.GLProgramBase
virtual void Dispose (bool disposing)
 

Detailed Description

A lines program which allows customization of color and width.

Member Function Documentation

◆ SetColor()

void ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.SetColor ( Color4  color)
inline

◆ SetLineWidth()

void ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.SetLineWidth ( float  lineWidth)
inline

◆ SetTransform()

void ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.SetTransform ( Matrix4d  transform)
inline

◆ SetViewPortSize()

void ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.SetViewPortSize ( float  width,
float  height 
)
inline

Property Documentation

◆ FragmentShaderSource

override string ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.FragmentShaderSource
getprotected

◆ GeometryShaderSource

override string ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.GeometryShaderSource
getprotected

◆ VertexShaderSource

override string ScottPlot.OpenGL.GLPrograms.LinesProgramCustom.VertexShaderSource
getprotected

The documentation for this class was generated from the following file: