igPlotHistogram() private method

private igPlotHistogram ( string label, float values, int values_count, int values_offset, string overlay_text, float scale_min, float scale_max, Vector2 graph_size, int stride ) : void
label string
values float
values_count int
values_offset int
overlay_text string
scale_min float
scale_max float
graph_size Vector2
stride int
return void
Exemplo n.º 1
0
 public unsafe static void PlotHistogram(
     string label,
     float[] values,
     int startIndex,
     int count,
     string overlayText = null,
     float scaleMin     = float.MaxValue,
     float scaleMax     = float.MaxValue,
     Vector2 graphSize  = default(Vector2),
     int elementStride  = 1)
 {
     fixed(float *valuesBasePtr = values)
     {
         ImGuiNative.igPlotHistogram(
             label,
             valuesBasePtr,
             count,
             startIndex,
             overlayText,
             scaleMin,
             scaleMax,
             graphSize,
             elementStride * sizeof(float));
     }
 }
Exemplo n.º 2
0
 public unsafe static void PlotHistogram(string label, float[] values, int valuesOffset, string overlayText, float scaleMin, float scaleMax, Vector2 graphSize, int stride)
 {
     fixed(float *valuesBasePtr = values)
     {
         ImGuiNative.igPlotHistogram(
             label,
             valuesBasePtr,
             values.Length,
             valuesOffset,
             overlayText,
             scaleMin,
             scaleMax,
             graphSize,
             stride);
     }
 }