Foundation
Loading...
Searching...
No Matches
Classes | Typedefs | Functions
ImGui.hpp File Reference
#include <Bindings/ImGui.hpp>

Go to the source code of this file.

Classes

struct  ImProfilerHistogram
 
struct  ImProfilerSample
 
struct  ImTimelineRow
 
struct  ImTimelineStrip
 
struct  ImTimelineResult
 

Typedefs

using ImEaseFunction = float(*)(float)
 

Functions

bool ImModalButton (const char *label, int lineIndex=0, int lineTotal=1)
 
void ImFillText (const char *label, ImU32 col=0xFFFFFFFF, int lineIndex=0, int lineTotal=1)
 
int ImProfilerAssignLanes (Span< ImProfilerSample >, Allocator *)
 
void ImProfilerDrawTimestampLabel (Span< const ImProfilerSample > samples, float resolution, int numLabels)
 
int ImProfilerDrawLane (Span< const ImProfilerSample >, int lane)
 
int ImProfilerDrawTable (Span< const ImProfilerSample >, float resolution)
 
void ImProfilerDrawHistogram (Vector< unsigned > &bins, ImProfilerHistogram const &histogram, size_t labelCount, float resolution, bool logOrLinear=true)
 
bool ImBitmaskOptionPicker (unsigned &value, const char **labels, const unsigned *masks, unsigned count, bool solo=false, int columns=1)
 
template<size_t N>
bool ImBitmaskOptionPicker (unsigned &value, const char *(&labels)[N], const unsigned(&masks)[N], bool solo=false, int columns=1)
 
template<typename T , typename Mask , size_t N>
bool ImBitmaskOptionPicker (T &value, const char *(&labels)[N], const Mask(&masks)[N], bool solo=false, int columns=1)
 
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=100.0f)
 
ImTimelineResult ImTimeline (const char *strId, Span< const ImTimelineRow > rows, Span< ImTimelineStrip > strips, float length, float &playhead, float &pixelsPerSecond, float &scrollX)
 
int ImBlink (int intervalMS, int count)
 
float ImBlinkF (float intervalMS)
 
constexpr float ImEaseLinear (float x)
 
constexpr float ImEaseInOutCubic (float x)
 

Typedef Documentation

◆ ImEaseFunction

using ImEaseFunction = float (*)(float)

Function Documentation

◆ ImBitmaskOptionPicker() [1/3]

template<typename T , typename Mask , size_t N>
bool ImBitmaskOptionPicker ( T &  value,
const char *(&)  labels[N],
const Mask(&)  masks[N],
bool  solo = false,
int  columns = 1 
)

◆ ImBitmaskOptionPicker() [2/3]

template<size_t N>
bool ImBitmaskOptionPicker ( unsigned &  value,
const char *(&)  labels[N],
const unsigned(&)  masks[N],
bool  solo = false,
int  columns = 1 
)

◆ ImBitmaskOptionPicker() [3/3]

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

◆ ImBlink()

int ImBlink ( int  intervalMS,
int  count 
)
inline

◆ ImBlinkF()

float ImBlinkF ( float  intervalMS)
inline

◆ ImEaseInOutCubic()

constexpr float ImEaseInOutCubic ( float  x)
inlineconstexpr

◆ ImEaseLinear()

constexpr float ImEaseLinear ( float  x)
inlineconstexpr

◆ ImFillText()

void ImFillText ( const char *  label,
ImU32  col = 0xFFFFFFFF,
int  lineIndex = 0,
int  lineTotal = 1 
)
extern

◆ ImHDRColorEdit()

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

◆ ImLinearColorEdit3()

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

◆ ImLinearColorEdit4()

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

◆ ImModalButton()

bool ImModalButton ( const char *  label,
int  lineIndex = 0,
int  lineTotal = 1 
)
extern

◆ ImProfilerAssignLanes()

int ImProfilerAssignLanes ( Span< ImProfilerSample samples,
Allocator alloc 
)
extern

◆ ImProfilerDrawHistogram()

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

◆ ImProfilerDrawLane()

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

◆ ImProfilerDrawTable()

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

◆ ImProfilerDrawTimestampLabel()

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

◆ ImTimeline()

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

◆ 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)