template struct ImPlot::RendererStairsPre

Overview

template <class _Getter, class _GetterColor>
struct RendererStairsPre: public ImPlot::RendererBase
{
    // fields

    const _Getter& Getter;
    const _GetterColor& GetterColor;
    float HalfWeight;
    ImVec2 P1;
    ImVec2 UV;

    // construction

    RendererStairsPre(
        const _Getter& getter,
        const _GetterColor& getter_color,
        float weight
        );

    // methods

    void Init(ImDrawList& draw_list) const;

    IMPLOT_INLINE bool Render(
        ImDrawList& draw_list,
        const ImRect& cull_rect,
        int prim
        ) const;
};