struct ImPlot::GetterFuncPtr

Overview

Interprets a user’s function pointer as ImPlotPoints.

struct GetterFuncPtr
{
    // typedefs

    typedef ImPlotPoint value_type;

    // fields

    ImPlotGetter Getter;
    void*const Data;
    const int Count;

    // construction

    GetterFuncPtr(
        ImPlotGetter getter,
        void* data,
        int count
        );

    // methods

    template <typename I>
    IMPLOT_INLINE ImPlotPoint operator [] (I idx) const;
};