ScottPlot
Loading...
Searching...
No Matches
Public Member Functions | Properties | List of all members
ScottPlot.IPlottableGL Interface Reference

This interface is applied to plottables which can be rendered directly on the GPU using an OpenGL shader. More...

Inheritance diagram for ScottPlot.IPlottableGL:
ScottPlot.IPlottable ScottPlot.Plottables.ScatterGL ScottPlot.Plottables.ScatterGLCustom

Public Member Functions

void GLFinish ()
 Used to manually synchronize rendering.
 
void StoreGLState ()
 Store OpenGL atributes.
 
void RestoreGLState ()
 Restore previously saved OpenGL atributes.
 
- Public Member Functions inherited from ScottPlot.IPlottable
AxisLimits GetAxisLimits ()
 Return the 2D area (in coordinate space) occupied by the data contained in this plottable.
 
void Render (RenderPack rp)
 Draw the data from this plottable into the data area defined in the Axes. By default the surface is already clipped to the data area, but this can be cleared inside the plottable.
 

Properties

IPlotControl PlotControl [get]
 The control used to display this plottable. It is used to access the GRContext at render time.
 
- Properties inherited from ScottPlot.IPlottable
bool IsVisible [get, set]
 Toggles whether this plottable is shown and contributes to the automatic axis limit detection. The calling method will check this variable (it does not need to be checked inside the Render method).
 
IAxes Axes [get, set]
 This object performs coordinate/pixel translation at render time based on the latest data area. It stores the axes to use for this plottable and also the data area (in pixels) updated just before each render. If this object is null it will be constructed using the default X and Y axes at render time.
 
IEnumerable< LegendItemLegendItems [get]
 Items which will appear in the legend.
 

Detailed Description

This interface is applied to plottables which can be rendered directly on the GPU using an OpenGL shader.

Member Function Documentation

◆ GLFinish()

void ScottPlot.IPlottableGL.GLFinish ( )

Used to manually synchronize rendering.

Implemented in ScottPlot.Plottables.ScatterGL.

◆ RestoreGLState()

void ScottPlot.IPlottableGL.RestoreGLState ( )

Restore previously saved OpenGL atributes.

Implemented in ScottPlot.Plottables.ScatterGL.

◆ StoreGLState()

void ScottPlot.IPlottableGL.StoreGLState ( )

Store OpenGL atributes.

Implemented in ScottPlot.Plottables.ScatterGL.

Property Documentation

◆ PlotControl

IPlotControl ScottPlot.IPlottableGL.PlotControl
get

The control used to display this plottable. It is used to access the GRContext at render time.

Implemented in ScottPlot.Plottables.ScatterGL.


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