Foundation
Loading...
Searching...
No Matches
Functions
ImGui.cpp File Reference
#include "ImGui.hpp"
#include <Fonts/PlexSansIcon.h>
#include <cmath>
#include <cstdio>

Functions

Tuple< ImVec2, ImVec2, ImDrawList * > ImWindowDrawOffsetRegionList ()
 
const size_t ImProfilerTimestampLinear (size_t min, size_t max, size_t binCount, size_t binIndex)
 
const size_t ImProfilerTimestampLog (size_t min, size_t max, size_t binCount, size_t binIndex)
 
bool ImModalButton (const char *label, int lineIndex, int lineTotal)
 
void ImFillText (const char *label, ImU32 col, int lineIndex, int lineTotal)
 
int ImProfilerAssignLanes (Span< ImProfilerSample > samples, Allocator *alloc)
 
void ImProfilerDrawTimestampLabel (Span< const ImProfilerSample > samples, float resolution, int numLabels)
 
int ImProfilerDrawLane (Span< const ImProfilerSample > samples, int lane)
 
int ImProfilerDrawTable (Span< const ImProfilerSample > samples, float resolution)
 
void ImProfilerDrawHistogram (Vector< unsigned > &bins, ImProfilerHistogram const &histogram, size_t labelCount, float resolution, bool logOrLinear)
 
bool ImBitmaskOptionPicker (unsigned &value, const char **labels, const unsigned *masks, unsigned count, bool solo, int columns)
 
ImTimelineResult ImTimeline (const char *strId, Span< const ImTimelineRow > rows, Span< ImTimelineStrip > strips, float length, float &playhead, float &pixelsPerSecond, float &scrollX)
 
float LinearToSRGB (float linear)
 
float SRGBToLinear (float srgb)
 
float3 LinearToSRGB (float3 linear)
 
float3 SRGBToLinear (float3 srgb)
 
bool ImLinearColorEdit3 (const char *label, float3 &linearRgb)
 
bool ImLinearColorEdit4 (const char *label, float4 &linearRgba)
 
bool ImHDRColorEdit (const char *label, float3 &color, float &power, float maxScale)
 

Function Documentation

◆ ImBitmaskOptionPicker()

bool ImBitmaskOptionPicker ( unsigned &  value,
const char **  labels,
const unsigned *  masks,
unsigned  count,
bool  solo,
int  columns 
)

◆ ImFillText()

void ImFillText ( const char *  label,
ImU32  col,
int  lineIndex,
int  lineTotal 
)

◆ ImHDRColorEdit()

bool ImHDRColorEdit ( const char *  label,
float3 &  color,
float &  power,
float  maxScale 
)

◆ ImLinearColorEdit3()

bool ImLinearColorEdit3 ( const char *  label,
float3 &  linearRgb 
)

◆ ImLinearColorEdit4()

bool ImLinearColorEdit4 ( const char *  label,
float4 &  linearRgba 
)

◆ ImModalButton()

bool ImModalButton ( const char *  label,
int  lineIndex,
int  lineTotal 
)

◆ ImProfilerAssignLanes()

int ImProfilerAssignLanes ( Span< ImProfilerSample samples,
Allocator alloc 
)

◆ ImProfilerDrawHistogram()

void ImProfilerDrawHistogram ( Vector< unsigned > &  bins,
ImProfilerHistogram const &  histogram,
size_t  labelCount,
float  resolution,
bool  logOrLinear 
)

◆ ImProfilerDrawLane()

int ImProfilerDrawLane ( Span< const ImProfilerSample samples,
int  lane 
)

◆ ImProfilerDrawTable()

int ImProfilerDrawTable ( Span< const ImProfilerSample samples,
float  resolution 
)

◆ ImProfilerDrawTimestampLabel()

void ImProfilerDrawTimestampLabel ( Span< const ImProfilerSample samples,
float  resolution,
int  numLabels 
)

◆ ImProfilerTimestampLinear()

const size_t ImProfilerTimestampLinear ( size_t  min,
size_t  max,
size_t  binCount,
size_t  binIndex 
)

◆ ImProfilerTimestampLog()

const size_t ImProfilerTimestampLog ( size_t  min,
size_t  max,
size_t  binCount,
size_t  binIndex 
)

◆ ImTimeline()

ImTimelineResult ImTimeline ( const char *  strId,
Span< const ImTimelineRow rows,
Span< ImTimelineStrip strips,
float  length,
float &  playhead,
float &  pixelsPerSecond,
float &  scrollX 
)

◆ ImWindowDrawOffsetRegionList()

Tuple< ImVec2, ImVec2, ImDrawList * > ImWindowDrawOffsetRegionList ( )

◆ LinearToSRGB() [1/2]

float LinearToSRGB ( float  linear)

◆ LinearToSRGB() [2/2]

float3 LinearToSRGB ( float3  linear)

◆ SRGBToLinear() [1/2]

float SRGBToLinear ( float  srgb)

◆ SRGBToLinear() [2/2]

float3 SRGBToLinear ( float3  srgb)