Ankush's Garage
A collection of stuff made by Ankush Roy
Loading...
Searching...
No Matches
ScrollingBuffer Struct Reference

Public Member Functions

 ScrollingBuffer (int max_size=2000)
 
void AddPoint (float x, float y)
 
void Erase ()
 

Public Attributes

int MaxSize
 
int Offset
 
ImVector< ImVec2 > Data
 

Constructor & Destructor Documentation

◆ ScrollingBuffer()

ScrollingBuffer::ScrollingBuffer ( int max_size = 2000)
inline

Member Function Documentation

◆ AddPoint()

void ScrollingBuffer::AddPoint ( float x,
float y )
inline

◆ Erase()

void ScrollingBuffer::Erase ( )
inline

Member Data Documentation

◆ Data

ImVector<ImVec2> ScrollingBuffer::Data

◆ MaxSize

int ScrollingBuffer::MaxSize

◆ Offset

int ScrollingBuffer::Offset

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