ImGui
Static Members
createContext(?sharedFontAtlas: ImFontAtlas = cast 0): ImGuiContext| Name | Type | Default |
|---|---|---|
sharedFontAtlas |
ImFontAtlas | cast 0 |
| Returns |
|---|
| ImGuiContext |
destroyContext(?ctx: ImGuiContext = cast 0): Void| Name | Type | Default |
|---|---|---|
ctx |
ImGuiContext | cast 0 |
getCurrentContext(): ImGuiContext| Returns |
|---|
| ImGuiContext |
setCurrentContext(ctx: ImGuiContext): Void| Name | Type |
|---|---|
ctx |
ImGuiContext |
getIO(): ImGuiIO| Returns |
|---|
| ImGuiIO |
getPlatformIO(): ImGuiPlatformIO| Returns |
|---|
| ImGuiPlatformIO |
getStyle(): ImGuiStyle| Returns |
|---|
| ImGuiStyle |
newFrame(): VoidendFrame(): Voidrender(): VoidgetDrawData(): ImDrawData| Returns |
|---|
| ImDrawData |
showIDStackToolWindow(): VoidshowStyleEditor(?ref: ImGuiStyle = cast 0): Void| Name | Type | Default |
|---|---|---|
ref |
ImGuiStyle | cast 0 |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
showUserGuide(): VoidgetVersion(): String| Returns |
|---|
| String |
styleColorsDark(?dst: ImGuiStyle = cast 0): Void| Name | Type | Default |
|---|---|---|
dst |
ImGuiStyle | cast 0 |
styleColorsLight(?dst: ImGuiStyle = cast 0): Void| Name | Type | Default |
|---|---|---|
dst |
ImGuiStyle | cast 0 |
styleColorsClassic(?dst: ImGuiStyle = cast 0): Void| Name | Type | Default |
|---|---|---|
dst |
ImGuiStyle | cast 0 |
end(): Void| Name | Type | Default |
|---|---|---|
strId |
String | |
size |
ImVec2 | |
childFlags |
Int | 0 |
windowFlags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
id |
Int | |
size |
ImVec2 | |
childFlags |
Int | 0 |
windowFlags |
Int | 0 |
| Returns |
|---|
| Bool |
endChild(): VoidisWindowAppearing(): Bool| Returns |
|---|
| Bool |
isWindowCollapsed(): Bool| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
flags |
Int | 0 |
| Returns |
|---|
| Bool |
getWindowDrawList(): ImDrawList| Returns |
|---|
| ImDrawList |
getWindowDpiScale(): Float| Returns |
|---|
| Float |
getWindowPos(): ImVec2| Returns |
|---|
| ImVec2 |
getWindowSize(): ImVec2| Returns |
|---|
| ImVec2 |
getWindowWidth(): Float| Returns |
|---|
| Float |
getWindowHeight(): Float| Returns |
|---|
| Float |
getWindowViewport(): ImGuiViewport| Returns |
|---|
| ImGuiViewport |
| Name | Type | Default |
|---|---|---|
pos |
ImVec2 | |
cond |
Int | 0 |
pivot |
ImVec2 |
| Name | Type | Default |
|---|---|---|
pos |
ImVec2 | |
cond |
Int | 0 |
| Name | Type | Default |
|---|---|---|
size |
ImVec2 | |
cond |
Int | 0 |
setNextWindowSizeConstraints(sizeMin: ImVec2, sizeMax: ImVec2, ?customCallback: Int = 0, ?customCallbackData: Int = 0): Void| Name | Type | Default |
|---|---|---|
sizeMin |
ImVec2 | |
sizeMax |
ImVec2 | |
customCallback |
Int | 0 |
customCallbackData |
Int | 0 |
| Name | Type |
|---|---|
size |
ImVec2 |
| Name | Type | Default |
|---|---|---|
collapsed |
Bool | |
cond |
Int | 0 |
setNextWindowFocus(): Void| Name | Type |
|---|---|
scroll |
ImVec2 |
| Name | Type |
|---|---|
alpha |
Float |
| Name | Type |
|---|---|
viewportId |
Int |
| Name | Type | Default |
|---|---|---|
pos |
ImVec2 | |
cond |
Int | 0 |
| Name | Type | Default |
|---|---|---|
size |
ImVec2 | |
cond |
Int | 0 |
| Name | Type | Default |
|---|---|---|
collapsed |
Bool | |
cond |
Int | 0 |
setWindowFocus(): Void| Name | Type | Default |
|---|---|---|
name |
String | |
pos |
ImVec2 | |
cond |
Int | 0 |
| Name | Type | Default |
|---|---|---|
name |
String | |
size |
ImVec2 | |
cond |
Int | 0 |
| Name | Type | Default |
|---|---|---|
name |
String | |
collapsed |
Bool | |
cond |
Int | 0 |
| Name | Type |
|---|---|
name |
String |
getScrollX(): Float| Returns |
|---|
| Float |
getScrollY(): Float| Returns |
|---|
| Float |
| Name | Type |
|---|---|
scrollX |
Float |
| Name | Type |
|---|---|
scrollY |
Float |
getScrollMaxX(): Float| Returns |
|---|
| Float |
getScrollMaxY(): Float| Returns |
|---|
| Float |
| Name | Type | Default |
|---|---|---|
centerXRatio |
Float | 0.5 |
| Name | Type | Default |
|---|---|---|
centerYRatio |
Float | 0.5 |
| Name | Type | Default |
|---|---|---|
localX |
Float | |
centerXRatio |
Float | 0.5 |
| Name | Type | Default |
|---|---|---|
localY |
Float | |
centerYRatio |
Float | 0.5 |
| Name | Type |
|---|---|
font |
ImFont |
fontSizeBaseUnscaled |
Float |
popFont(): VoidgetFont(): ImFont| Returns |
|---|
| ImFont |
getFontSize(): Float| Returns |
|---|
| Float |
getFontBaked(): ImFontBaked| Returns |
|---|
| ImFontBaked |
| Name | Type |
|---|---|
idx |
Int |
col |
Int |
| Name | Type |
|---|---|
idx |
Int |
col |
ImVec4 |
| Name | Type | Default |
|---|---|---|
count |
Int | 1 |
popStyleColor(): Void| Name | Type |
|---|---|
idx |
Int |
val |
Float |
| Name | Type |
|---|---|
idx |
Int |
val |
ImVec2 |
| Name | Type |
|---|---|
idx |
Int |
valX |
Float |
| Name | Type |
|---|---|
idx |
Int |
valY |
Float |
| Name | Type | Default |
|---|---|---|
count |
Int | 1 |
popStyleVar(): Void| Name | Type |
|---|---|
option |
Int |
enabled |
Bool |
popItemFlag(): Void| Name | Type |
|---|---|
itemWidth |
Float |
popItemWidth(): Void| Name | Type |
|---|---|
itemWidth |
Float |
calcItemWidth(): Float| Returns |
|---|
| Float |
| Name | Type | Default |
|---|---|---|
wrapLocalPosX |
Float | 0.0 |
popTextWrapPos(): VoidgetFontTexUvWhitePixel(): ImVec2| Returns |
|---|
| ImVec2 |
| Name | Type | Default |
|---|---|---|
idx |
Int | |
alphaMul |
Float | 1.0 |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
idx |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
col |
ImVec4 |
| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
col |
Int | |
alphaMul |
Float | 1.0 |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
col |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
idx |
Int |
| Returns |
|---|
| Int |
getCursorScreenPos(): ImVec2| Returns |
|---|
| ImVec2 |
| Name | Type |
|---|---|
pos |
ImVec2 |
getContentRegionAvail(): ImVec2| Returns |
|---|
| ImVec2 |
getCursorPos(): ImVec2| Returns |
|---|
| ImVec2 |
getCursorPosX(): Float| Returns |
|---|
| Float |
getCursorPosY(): Float| Returns |
|---|
| Float |
| Name | Type |
|---|---|
localPos |
ImVec2 |
| Name | Type |
|---|---|
localX |
Float |
| Name | Type |
|---|---|
localY |
Float |
getCursorStartPos(): ImVec2| Returns |
|---|
| ImVec2 |
separator(): Void| Name | Type | Default |
|---|---|---|
offsetFromStartX |
Float | 0.0 |
spacing |
Float | -1.0 |
sameLine(): VoidnewLine(): Voidspacing(): Void| Name | Type |
|---|---|
size |
ImVec2 |
| Name | Type | Default |
|---|---|---|
indentW |
Float | 0.0 |
indent(): Void| Name | Type | Default |
|---|---|---|
indentW |
Float | 0.0 |
unindent(): VoidbeginGroup(): VoidendGroup(): VoidalignTextToFramePadding(): VoidgetTextLineHeight(): Float| Returns |
|---|
| Float |
getTextLineHeightWithSpacing(): Float| Returns |
|---|
| Float |
getFrameHeight(): Float| Returns |
|---|
| Float |
getFrameHeightWithSpacing(): Float| Returns |
|---|
| Float |
| Name | Type |
|---|---|
strId |
String |
| Name | Type |
|---|---|
strIdBegin |
String |
strIdEnd |
String |
| Name | Type |
|---|---|
ptrId |
Int |
| Name | Type |
|---|---|
intId |
Int |
popID(): Void| Name | Type |
|---|---|
strId |
String |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
strIdBegin |
String |
strIdEnd |
String |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
ptrId |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
intId |
Int |
| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
text |
String | |
textEnd |
String | null |
| Name | Type |
|---|---|
text |
String |
| Name | Type |
|---|---|
col |
ImVec4 |
text |
String |
| Name | Type |
|---|---|
text |
String |
| Name | Type |
|---|---|
text |
String |
| Name | Type |
|---|---|
label |
String |
text |
String |
| Name | Type |
|---|---|
text |
String |
| Name | Type |
|---|---|
label |
String |
| Name | Type |
|---|---|
label |
String |
size |
ImVec2 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
strId |
String | |
size |
ImVec2 | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
strId |
String |
dir |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
active |
Bool |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
fraction |
Float | |
sizeArg |
ImVec2 | |
overlay |
String | null |
bullet(): Void| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
url |
String | null |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
imageEx(texRef: ImTextureRef, imageSize: ImVec2, uv0: ImVec2, uv1: ImVec2): Void| Name | Type |
|---|---|
texRef |
ImTextureRef |
imageSize |
ImVec2 |
uv0 |
ImVec2 |
uv1 |
ImVec2 |
image(texRef: ImTextureRef, imageSize: ImVec2): Void| Name | Type |
|---|---|
texRef |
ImTextureRef |
imageSize |
ImVec2 |
imageWithBgEx(texRef: ImTextureRef, imageSize: ImVec2, uv0: ImVec2, uv1: ImVec2, bgCol: ImVec4, tintCol: ImVec4): Void| Name | Type |
|---|---|
texRef |
ImTextureRef |
imageSize |
ImVec2 |
uv0 |
ImVec2 |
uv1 |
ImVec2 |
bgCol |
ImVec4 |
tintCol |
ImVec4 |
imageWithBg(texRef: ImTextureRef, imageSize: ImVec2): Void| Name | Type |
|---|---|
texRef |
ImTextureRef |
imageSize |
ImVec2 |
imageButtonEx(strId: String, texRef: ImTextureRef, imageSize: ImVec2, uv0: ImVec2, uv1: ImVec2, bgCol: ImVec4, tintCol: ImVec4): Bool| Name | Type |
|---|---|
strId |
String |
texRef |
ImTextureRef |
imageSize |
ImVec2 |
uv0 |
ImVec2 |
uv1 |
ImVec2 |
bgCol |
ImVec4 |
tintCol |
ImVec4 |
| Returns |
|---|
| Bool |
imageButton(strId: String, texRef: ImTextureRef, imageSize: ImVec2): Bool| Name | Type |
|---|---|
strId |
String |
texRef |
ImTextureRef |
imageSize |
ImVec2 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
previewValue |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
endCombo(): VoidcomboCharEx(label: String, currentItem: Int, items: Int, itemsCount: Int, ?popupMaxHeightInItems: Int = -1): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
currentItem |
Int | |
items |
Int | |
itemsCount |
Int | |
popupMaxHeightInItems |
Int | -1 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
currentItem |
Int |
items |
Int |
itemsCount |
Int |
| Returns |
|---|
| Bool |
comboCallbackEx(label: String, currentItem: Int, getter: Int, userData: Int, itemsCount: Int, ?popupMaxHeightInItems: Int = -1): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
currentItem |
Int | |
getter |
Int | |
userData |
Int | |
itemsCount |
Int | |
popupMaxHeightInItems |
Int | -1 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
currentItem |
Int |
getter |
Int |
userData |
Int |
itemsCount |
Int |
| Returns |
|---|
| Bool |
dragFloat2Ex(label: String, v: Array<Float>, ?vSpeed: Float = 1.0, ?vMin: Float = 0.0, ?vMax: Float = 0.0, ?format: String = "%.3f", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
vSpeed |
Float | 1.0 |
vMin |
Float | 0.0 |
vMax |
Float | 0.0 |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
| Returns |
|---|
| Bool |
dragFloat3Ex(label: String, v: Array<Float>, ?vSpeed: Float = 1.0, ?vMin: Float = 0.0, ?vMax: Float = 0.0, ?format: String = "%.3f", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
vSpeed |
Float | 1.0 |
vMin |
Float | 0.0 |
vMax |
Float | 0.0 |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
| Returns |
|---|
| Bool |
dragFloat4Ex(label: String, v: Array<Float>, ?vSpeed: Float = 1.0, ?vMin: Float = 0.0, ?vMax: Float = 0.0, ?format: String = "%.3f", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
vSpeed |
Float | 1.0 |
vMin |
Float | 0.0 |
vMax |
Float | 0.0 |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
| Returns |
|---|
| Bool |
dragInt2Ex(label: String, v: Array<Int>, ?vSpeed: Float = 1.0, ?vMin: Int = 0, ?vMax: Int = 0, ?format: String = "%d", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
vSpeed |
Float | 1.0 |
vMin |
Int | 0 |
vMax |
Int | 0 |
format |
String | "%d" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Int> |
| Returns |
|---|
| Bool |
dragInt3Ex(label: String, v: Array<Int>, ?vSpeed: Float = 1.0, ?vMin: Int = 0, ?vMax: Int = 0, ?format: String = "%d", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
vSpeed |
Float | 1.0 |
vMin |
Int | 0 |
vMax |
Int | 0 |
format |
String | "%d" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Int> |
| Returns |
|---|
| Bool |
dragInt4Ex(label: String, v: Array<Int>, ?vSpeed: Float = 1.0, ?vMin: Int = 0, ?vMax: Int = 0, ?format: String = "%d", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
vSpeed |
Float | 1.0 |
vMin |
Int | 0 |
vMax |
Int | 0 |
format |
String | "%d" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Int> |
| Returns |
|---|
| Bool |
dragScalarEx(label: String, dataType: Int, pData: Int, ?vSpeed: Float = 1.0, ?pMin: Int = 0, ?pMax: Int = 0, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
dataType |
Int | |
pData |
Int | |
vSpeed |
Float | 1.0 |
pMin |
Int | 0 |
pMax |
Int | 0 |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
dataType |
Int |
pData |
Int |
| Returns |
|---|
| Bool |
dragScalarNEx(label: String, dataType: Int, pData: Int, components: Int, ?vSpeed: Float = 1.0, ?pMin: Int = 0, ?pMax: Int = 0, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
dataType |
Int | |
pData |
Int | |
components |
Int | |
vSpeed |
Float | 1.0 |
pMin |
Int | 0 |
pMax |
Int | 0 |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
dataType |
Int |
pData |
Int |
components |
Int |
| Returns |
|---|
| Bool |
sliderFloat2Ex(label: String, v: Array<Float>, vMin: Float, vMax: Float, ?format: String = "%.3f", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
vMin |
Float | |
vMax |
Float | |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
vMin |
Float |
vMax |
Float |
| Returns |
|---|
| Bool |
sliderFloat3Ex(label: String, v: Array<Float>, vMin: Float, vMax: Float, ?format: String = "%.3f", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
vMin |
Float | |
vMax |
Float | |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
vMin |
Float |
vMax |
Float |
| Returns |
|---|
| Bool |
sliderFloat4Ex(label: String, v: Array<Float>, vMin: Float, vMax: Float, ?format: String = "%.3f", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
vMin |
Float | |
vMax |
Float | |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
vMin |
Float |
vMax |
Float |
| Returns |
|---|
| Bool |
sliderInt2Ex(label: String, v: Array<Int>, vMin: Int, vMax: Int, ?format: String = "%d", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
vMin |
Int | |
vMax |
Int | |
format |
String | "%d" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Int> |
vMin |
Int |
vMax |
Int |
| Returns |
|---|
| Bool |
sliderInt3Ex(label: String, v: Array<Int>, vMin: Int, vMax: Int, ?format: String = "%d", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
vMin |
Int | |
vMax |
Int | |
format |
String | "%d" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Int> |
vMin |
Int |
vMax |
Int |
| Returns |
|---|
| Bool |
sliderInt4Ex(label: String, v: Array<Int>, vMin: Int, vMax: Int, ?format: String = "%d", ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
vMin |
Int | |
vMax |
Int | |
format |
String | "%d" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Int> |
vMin |
Int |
vMax |
Int |
| Returns |
|---|
| Bool |
sliderScalarEx(label: String, dataType: Int, pData: Int, pMin: Int, pMax: Int, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
dataType |
Int | |
pData |
Int | |
pMin |
Int | |
pMax |
Int | |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
dataType |
Int |
pData |
Int |
pMin |
Int |
pMax |
Int |
| Returns |
|---|
| Bool |
sliderScalarNEx(label: String, dataType: Int, pData: Int, components: Int, pMin: Int, pMax: Int, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
dataType |
Int | |
pData |
Int | |
components |
Int | |
pMin |
Int | |
pMax |
Int | |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
sliderScalarN(label: String, dataType: Int, pData: Int, components: Int, pMin: Int, pMax: Int): Bool| Name | Type |
|---|---|
label |
String |
dataType |
Int |
pData |
Int |
components |
Int |
pMin |
Int |
pMax |
Int |
| Returns |
|---|
| Bool |
vSliderScalarEx(label: String, size: ImVec2, dataType: Int, pData: Int, pMin: Int, pMax: Int, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
size |
ImVec2 | |
dataType |
Int | |
pData |
Int | |
pMin |
Int | |
pMax |
Int | |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
size |
ImVec2 |
dataType |
Int |
pData |
Int |
pMin |
Int |
pMax |
Int |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Float> | |
format |
String | "%.3f" |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
v |
Array<Float> |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
v |
Array<Int> | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
inputScalarEx(label: String, dataType: Int, pData: Int, ?pStep: Int = 0, ?pStepFast: Int = 0, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
dataType |
Int | |
pData |
Int | |
pStep |
Int | 0 |
pStepFast |
Int | 0 |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
dataType |
Int |
pData |
Int |
| Returns |
|---|
| Bool |
inputScalarNEx(label: String, dataType: Int, pData: Int, components: Int, ?pStep: Int = 0, ?pStepFast: Int = 0, ?format: String = null, ?flags: Int = 0): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
dataType |
Int | |
pData |
Int | |
components |
Int | |
pStep |
Int | 0 |
pStepFast |
Int | 0 |
format |
String | null |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
dataType |
Int |
pData |
Int |
components |
Int |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
col |
Array<Float> | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
col |
Array<Float> | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
col |
Array<Float> | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
col |
Array<Float> | |
flags |
Int | 0 |
refCol |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
descId |
String | |
col |
ImVec4 | |
flags |
Int | 0 |
size |
ImVec2 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
descId |
String | |
col |
ImVec4 | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
flags |
Int |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
strId |
String |
text |
String |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
ptrId |
Int |
text |
String |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
strId |
String |
flags |
Int |
text |
String |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
ptrId |
Int |
flags |
Int |
text |
String |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
strId |
String |
| Name | Type |
|---|---|
ptrId |
Int |
treePop(): VoidgetTreeNodeToLabelSpacing(): Float| Returns |
|---|
| Float |
| Name | Type | Default |
|---|---|---|
label |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
isOpen |
Bool | |
cond |
Int | 0 |
| Name | Type |
|---|---|
storageId |
Int |
| Name | Type |
|---|---|
storageId |
Int |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
label |
String | |
selected |
Bool | false |
flags |
Int | 0 |
size |
ImVec2 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
beginMultiSelectEx(flags: Int, ?selectionSize: Int = -1, ?itemsCount: Int = -1): ImGuiMultiSelectIO| Name | Type | Default |
|---|---|---|
flags |
Int | |
selectionSize |
Int | -1 |
itemsCount |
Int | -1 |
| Returns |
|---|
| ImGuiMultiSelectIO |
beginMultiSelect(flags: Int): ImGuiMultiSelectIO| Name | Type |
|---|---|
flags |
Int |
| Returns |
|---|
| ImGuiMultiSelectIO |
endMultiSelect(): ImGuiMultiSelectIO| Returns |
|---|
| ImGuiMultiSelectIO |
| Name | Type |
|---|---|
selectionUserData |
Float |
isItemToggledSelection(): Bool| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
size |
ImVec2 |
| Returns |
|---|
| Bool |
endListBox(): VoidlistBox(label: String, currentItem: Int, items: Int, itemsCount: Int, ?heightInItems: Int = -1): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
currentItem |
Int | |
items |
Int | |
itemsCount |
Int | |
heightInItems |
Int | -1 |
| Returns |
|---|
| Bool |
listBoxCallbackEx(label: String, currentItem: Int, getter: Int, userData: Int, itemsCount: Int, ?heightInItems: Int = -1): Bool| Name | Type | Default |
|---|---|---|
label |
String | |
currentItem |
Int | |
getter |
Int | |
userData |
Int | |
itemsCount |
Int | |
heightInItems |
Int | -1 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
currentItem |
Int |
getter |
Int |
userData |
Int |
itemsCount |
Int |
| Returns |
|---|
| Bool |
plotLinesEx(label: String, values: Array<Float>, ?valuesOffset: Int = 0, ?overlayText: String = null, ?scaleMin: Float = 3.402823466e+38, ?scaleMax: Float = 3.402823466e+38, graphSize: ImVec2, ?stride: Int = 4): Void| Name | Type | Default |
|---|---|---|
label |
String | |
values |
Array<Float> | |
valuesOffset |
Int | 0 |
overlayText |
String | null |
scaleMin |
Float | 3.402823466e+38 |
scaleMax |
Float | 3.402823466e+38 |
graphSize |
ImVec2 | |
stride |
Int | 4 |
| Name | Type |
|---|---|
label |
String |
values |
Array<Float> |
plotLinesCallbackEx(label: String, valuesGetter: Int, data: Int, valuesCount: Int, ?valuesOffset: Int = 0, ?overlayText: String = null, ?scaleMin: Float = 3.402823466e+38, ?scaleMax: Float = 3.402823466e+38, graphSize: ImVec2): Void| Name | Type | Default |
|---|---|---|
label |
String | |
valuesGetter |
Int | |
data |
Int | |
valuesCount |
Int | |
valuesOffset |
Int | 0 |
overlayText |
String | null |
scaleMin |
Float | 3.402823466e+38 |
scaleMax |
Float | 3.402823466e+38 |
graphSize |
ImVec2 |
| Name | Type |
|---|---|
label |
String |
valuesGetter |
Int |
data |
Int |
valuesCount |
Int |
plotHistogramEx(label: String, values: Array<Float>, ?valuesOffset: Int = 0, ?overlayText: String = null, ?scaleMin: Float = 3.402823466e+38, ?scaleMax: Float = 3.402823466e+38, graphSize: ImVec2, ?stride: Int = 4): Void| Name | Type | Default |
|---|---|---|
label |
String | |
values |
Array<Float> | |
valuesOffset |
Int | 0 |
overlayText |
String | null |
scaleMin |
Float | 3.402823466e+38 |
scaleMax |
Float | 3.402823466e+38 |
graphSize |
ImVec2 | |
stride |
Int | 4 |
| Name | Type |
|---|---|
label |
String |
values |
Array<Float> |
plotHistogramCallbackEx(label: String, valuesGetter: Int, data: Int, valuesCount: Int, ?valuesOffset: Int = 0, ?overlayText: String = null, ?scaleMin: Float = 3.402823466e+38, ?scaleMax: Float = 3.402823466e+38, graphSize: ImVec2): Void| Name | Type | Default |
|---|---|---|
label |
String | |
valuesGetter |
Int | |
data |
Int | |
valuesCount |
Int | |
valuesOffset |
Int | 0 |
overlayText |
String | null |
scaleMin |
Float | 3.402823466e+38 |
scaleMax |
Float | 3.402823466e+38 |
graphSize |
ImVec2 |
| Name | Type |
|---|---|
label |
String |
valuesGetter |
Int |
data |
Int |
valuesCount |
Int |
beginMenuBar(): Bool| Returns |
|---|
| Bool |
endMenuBar(): VoidbeginMainMenuBar(): Bool| Returns |
|---|
| Bool |
endMainMenuBar(): Void| Name | Type | Default |
|---|---|---|
label |
String | |
enabled |
Bool | true |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
endMenu(): Void| Name | Type | Default |
|---|---|---|
label |
String | |
shortcut |
String | null |
selected |
Bool | false |
enabled |
Bool | true |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
label |
String |
| Returns |
|---|
| Bool |
beginTooltip(): Bool| Returns |
|---|
| Bool |
endTooltip(): Void| Name | Type |
|---|---|
text |
String |
beginItemTooltip(): Bool| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
text |
String |
| Name | Type | Default |
|---|---|---|
strId |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
endPopup(): Void| Name | Type | Default |
|---|---|---|
strId |
String | |
popupFlags |
Int | 0 |
| Name | Type | Default |
|---|---|---|
id |
Int | |
popupFlags |
Int | 0 |
| Name | Type | Default |
|---|---|---|
strId |
String | null |
popupFlags |
Int | 0 |
closeCurrentPopup(): Void| Name | Type | Default |
|---|---|---|
strId |
String | null |
popupFlags |
Int | 0 |
| Returns |
|---|
| Bool |
beginPopupContextItem(): Bool| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
strId |
String | null |
popupFlags |
Int | 0 |
| Returns |
|---|
| Bool |
beginPopupContextWindow(): Bool| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
strId |
String | null |
popupFlags |
Int | 0 |
| Returns |
|---|
| Bool |
beginPopupContextVoid(): Bool| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
strId |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
beginTableEx(strId: String, columns: Int, ?flags: Int = 0, outerSize: ImVec2, ?innerWidth: Float = 0.0): Bool| Name | Type | Default |
|---|---|---|
strId |
String | |
columns |
Int | |
flags |
Int | 0 |
outerSize |
ImVec2 | |
innerWidth |
Float | 0.0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
strId |
String | |
columns |
Int | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
endTable(): Void| Name | Type | Default |
|---|---|---|
rowFlags |
Int | 0 |
minRowHeight |
Float | 0.0 |
tableNextRow(): VoidtableNextColumn(): Bool| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
columnN |
Int |
| Returns |
|---|
| Bool |
tableSetupColumnEx(label: String, ?flags: Int = 0, ?initWidthOrWeight: Float = 0.0, ?userId: Int = 0): Void| Name | Type | Default |
|---|---|---|
label |
String | |
flags |
Int | 0 |
initWidthOrWeight |
Float | 0.0 |
userId |
Int | 0 |
| Name | Type | Default |
|---|---|---|
label |
String | |
flags |
Int | 0 |
| Name | Type |
|---|---|
cols |
Int |
rows |
Int |
| Name | Type |
|---|---|
label |
String |
tableHeadersRow(): VoidtableAngledHeadersRow(): VoidtableGetSortSpecs(): ImGuiTableSortSpecs| Returns |
|---|
| ImGuiTableSortSpecs |
tableGetColumnCount(): Int| Returns |
|---|
| Int |
tableGetColumnIndex(): Int| Returns |
|---|
| Int |
tableGetRowIndex(): Int| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
columnN |
Int | -1 |
| Returns |
|---|
| String |
| Name | Type | Default |
|---|---|---|
columnN |
Int | -1 |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
columnN |
Int |
v |
Bool |
tableGetHoveredColumn(): Int| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
target |
Int | |
color |
Int | |
columnN |
Int | -1 |
| Name | Type | Default |
|---|---|---|
count |
Int | 1 |
id |
String | null |
borders |
Bool | true |
columns(): VoidnextColumn(): VoidgetColumnIndex(): Int| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
columnIndex |
Int | -1 |
| Returns |
|---|
| Float |
| Name | Type |
|---|---|
columnIndex |
Int |
width |
Float |
| Name | Type | Default |
|---|---|---|
columnIndex |
Int | -1 |
| Returns |
|---|
| Float |
| Name | Type |
|---|---|
columnIndex |
Int |
offsetX |
Float |
getColumnsCount(): Int| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
strId |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
endTabBar(): VoidendTabItem(): Void| Name | Type | Default |
|---|---|---|
label |
String | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
tabOrDockedWindowLabel |
String |
dockSpaceEx(dockspaceId: Int, size: ImVec2, ?flags: Int = 0, ?windowClass: ImGuiWindowClass = cast 0): Int| Name | Type | Default |
|---|---|---|
dockspaceId |
Int | |
size |
ImVec2 | |
flags |
Int | 0 |
windowClass |
ImGuiWindowClass | cast 0 |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
dockspaceId |
Int |
| Returns |
|---|
| Int |
dockSpaceOverViewportEx(?dockspaceId: Int = 0, ?viewport: ImGuiViewport = cast 0, ?flags: Int = 0, ?windowClass: ImGuiWindowClass = cast 0): Int| Name | Type | Default |
|---|---|---|
dockspaceId |
Int | 0 |
viewport |
ImGuiViewport | cast 0 |
flags |
Int | 0 |
windowClass |
ImGuiWindowClass | cast 0 |
| Returns |
|---|
| Int |
dockSpaceOverViewport(): Int| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
dockId |
Int | |
cond |
Int | 0 |
setNextWindowClass(windowClass: ImGuiWindowClass): Void| Name | Type |
|---|---|
windowClass |
ImGuiWindowClass |
getWindowDockID(): Int| Returns |
|---|
| Int |
isWindowDocked(): Bool| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
autoOpenDepth |
Int | -1 |
| Name | Type | Default |
|---|---|---|
autoOpenDepth |
Int | -1 |
filename |
String | null |
| Name | Type | Default |
|---|---|---|
autoOpenDepth |
Int | -1 |
logFinish(): VoidlogButtons(): Void| Name | Type |
|---|---|
text |
String |
| Name | Type | Default |
|---|---|---|
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
type |
String | |
data |
Int | |
sz |
Int | |
cond |
Int | 0 |
| Returns |
|---|
| Bool |
endDragDropSource(): VoidbeginDragDropTarget(): Bool| Returns |
|---|
| Bool |
acceptDragDropPayload(type: String, ?flags: Int = 0): ImGuiPayload| Name | Type | Default |
|---|---|---|
type |
String | |
flags |
Int | 0 |
| Returns |
|---|
| ImGuiPayload |
endDragDropTarget(): VoidgetDragDropPayload(): ImGuiPayload| Returns |
|---|
| ImGuiPayload |
| Name | Type | Default |
|---|---|---|
disabled |
Bool | true |
endDisabled(): Void| Name | Type |
|---|---|
clipRectMin |
ImVec2 |
clipRectMax |
ImVec2 |
intersectWithCurrentClipRect |
Bool |
popClipRect(): VoidsetItemDefaultFocus(): Void| Name | Type | Default |
|---|---|---|
offset |
Int | 0 |
setKeyboardFocusHere(): Void| Name | Type |
|---|---|
visible |
Bool |
setNextItemAllowOverlap(): Void| Name | Type | Default |
|---|---|---|
flags |
Int | 0 |
| Returns |
|---|
| Bool |
isItemActive(): Bool| Returns |
|---|
| Bool |
isItemFocused(): Bool| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
mouseButton |
Int | 0 |
| Returns |
|---|
| Bool |
isItemClicked(): Bool| Returns |
|---|
| Bool |
isItemVisible(): Bool| Returns |
|---|
| Bool |
isItemEdited(): Bool| Returns |
|---|
| Bool |
isItemActivated(): Bool| Returns |
|---|
| Bool |
isItemDeactivated(): Bool| Returns |
|---|
| Bool |
isItemDeactivatedAfterEdit(): Bool| Returns |
|---|
| Bool |
isItemToggledOpen(): Bool| Returns |
|---|
| Bool |
isAnyItemHovered(): Bool| Returns |
|---|
| Bool |
isAnyItemActive(): Bool| Returns |
|---|
| Bool |
isAnyItemFocused(): Bool| Returns |
|---|
| Bool |
getItemID(): Int| Returns |
|---|
| Int |
getItemRectMin(): ImVec2| Returns |
|---|
| ImVec2 |
getItemRectMax(): ImVec2| Returns |
|---|
| ImVec2 |
getItemRectSize(): ImVec2| Returns |
|---|
| ImVec2 |
getItemFlags(): Int| Returns |
|---|
| Int |
getMainViewport(): ImGuiViewport| Returns |
|---|
| ImGuiViewport |
getBackgroundDrawListEx(?viewport: ImGuiViewport = cast 0): ImDrawList| Name | Type | Default |
|---|---|---|
viewport |
ImGuiViewport | cast 0 |
| Returns |
|---|
| ImDrawList |
getBackgroundDrawList(): ImDrawList| Returns |
|---|
| ImDrawList |
getForegroundDrawListEx(?viewport: ImGuiViewport = cast 0): ImDrawList| Name | Type | Default |
|---|---|---|
viewport |
ImGuiViewport | cast 0 |
| Returns |
|---|
| ImDrawList |
getForegroundDrawList(): ImDrawList| Returns |
|---|
| ImDrawList |
| Name | Type |
|---|---|
size |
ImVec2 |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
rectMin |
ImVec2 |
rectMax |
ImVec2 |
| Returns |
|---|
| Bool |
getTime(): Float| Returns |
|---|
| Float |
getFrameCount(): Int| Returns |
|---|
| Int |
| Returns |
|---|
| ImDrawListSharedData |
| Name | Type |
|---|---|
idx |
Int |
| Returns |
|---|
| String |
setStateStorage(storage: ImGuiStorage): Void| Name | Type |
|---|---|
storage |
ImGuiStorage |
getStateStorage(): ImGuiStorage| Returns |
|---|
| ImGuiStorage |
calcTextSizeEx(text: String, ?textEnd: String = null, ?hideTextAfterDoubleHash: Bool = false, ?wrapWidth: Float = -1.0): ImVec2| Name | Type | Default |
|---|---|---|
text |
String | |
textEnd |
String | null |
hideTextAfterDoubleHash |
Bool | false |
wrapWidth |
Float | -1.0 |
| Returns |
|---|
| ImVec2 |
| Name | Type |
|---|---|
text |
String |
| Returns |
|---|
| ImVec2 |
| Name | Type |
|---|---|
in_ |
Int |
| Returns |
|---|
| ImVec4 |
| Name | Type |
|---|---|
in_ |
ImVec4 |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
key |
Int | |
repeat |
Bool | true |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
keyChord |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
key |
Int |
repeatDelay |
Float |
rate |
Float |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| String |
| Name | Type |
|---|---|
wantCaptureKeyboard |
Bool |
| Name | Type | Default |
|---|---|---|
keyChord |
Int | |
flags |
Int | 0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
keyChord |
Int | |
flags |
Int | 0 |
| Name | Type |
|---|---|
key |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
button |
Int |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
button |
Int | |
repeat |
Bool | false |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
button |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
button |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
button |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
button |
Int |
delay |
Float |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
button |
Int |
| Returns |
|---|
| Int |
| Name | Type | Default |
|---|---|---|
rMin |
ImVec2 | |
rMax |
ImVec2 | |
clip |
Bool | true |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
rMin |
ImVec2 |
rMax |
ImVec2 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
mousePos |
Int | 0 |
| Returns |
|---|
| Bool |
isAnyMouseDown(): Bool| Returns |
|---|
| Bool |
getMousePos(): ImVec2| Returns |
|---|
| ImVec2 |
getMousePosOnOpeningCurrentPopup(): ImVec2| Returns |
|---|
| ImVec2 |
| Name | Type | Default |
|---|---|---|
button |
Int | |
lockThreshold |
Float | -1.0 |
| Returns |
|---|
| Bool |
| Name | Type | Default |
|---|---|---|
button |
Int | 0 |
lockThreshold |
Float | -1.0 |
| Returns |
|---|
| ImVec2 |
| Name | Type | Default |
|---|---|---|
button |
Int | 0 |
resetMouseDragDelta(): VoidgetMouseCursor(): Int| Returns |
|---|
| Int |
| Name | Type |
|---|---|
cursorType |
Int |
| Name | Type |
|---|---|
wantCaptureMouse |
Bool |
getClipboardText(): String| Returns |
|---|
| String |
| Name | Type |
|---|---|
text |
String |
| Name | Type |
|---|---|
iniFilename |
String |
| Name | Type | Default |
|---|---|---|
iniData |
String | |
iniSize |
Int | 0 |
| Name | Type |
|---|---|
iniFilename |
String |
| Name | Type | Default |
|---|---|---|
outIniSize |
Int | 0 |
| Returns |
|---|
| String |
| Name | Type |
|---|---|
text |
String |
| Name | Type |
|---|---|
idx |
Int |
debugStartItemPicker(): VoiddebugCheckVersionAndDataLayout(versionStr: String, szIo: Int, szStyle: Int, szVec2: Int, szVec4: Int, szDrawvert: Int, szDrawidx: Int): Bool| Name | Type |
|---|---|
versionStr |
String |
szIo |
Int |
szStyle |
Int |
szVec2 |
Int |
szVec4 |
Int |
szDrawvert |
Int |
szDrawidx |
Int |
| Returns |
|---|
| Bool |
| Name | Type |
|---|---|
text |
String |
| Name | Type | Default |
|---|---|---|
allocFunc |
Int | |
freeFunc |
Int | |
userData |
Int | 0 |
| Name | Type |
|---|---|
pAllocFunc |
Int |
pFreeFunc |
Int |
pUserData |
Int |
| Name | Type |
|---|---|
size |
Int |
| Returns |
|---|
| Int |
| Name | Type |
|---|---|
ptr |
Int |
updatePlatformWindows(): Void| Name | Type | Default |
|---|---|---|
platformRenderArg |
Int | 0 |
rendererRenderArg |
Int | 0 |
renderPlatformWindowsDefault(): VoiddestroyPlatformWindows(): VoidfindViewportByID(viewportId: Int): ImGuiViewport| Name | Type |
|---|---|
viewportId |
Int |
| Returns |
|---|
| ImGuiViewport |
findViewportByPlatformHandle(platformHandle: Int): ImGuiViewport| Name | Type |
|---|---|
platformHandle |
Int |
| Returns |
|---|
| ImGuiViewport |
| Name | Type |
|---|---|
vector |
Int |
| Name | Type |
|---|---|
vector |
Int |
create Demo window. demonstrate most ImGui features. call this to learn about the library! try to make it always available in your application!
| Name | Type | Default |
|---|---|---|
pOpen |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
create Metrics/Debugger window. display Dear ImGui internals: windows, draw commands, various internal state, etc.
| Name | Type | Default |
|---|---|---|
pOpen |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
create Debug Log window. display a simplified log of important dear imgui events.
| Name | Type | Default |
|---|---|---|
pOpen |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
create Stack Tool window. hover items with mouse to query information about the source of their unique ID.
| Name | Type | Default |
|---|---|---|
pOpen |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
create About window. display Dear ImGui version, credits and build/system information.
| Name | Type | Default |
|---|---|---|
pOpen |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
| Name | Type | Default |
|---|---|---|
name |
Dynamic | |
pOpen |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
label |
Dynamic |
flags |
Dynamic |
flagsValue |
Dynamic |
| Returns |
|---|
| Dynamic |
| Name | Type |
|---|---|
label |
Dynamic |
flags |
Dynamic |
flagsValue |
Dynamic |
| Returns |
|---|
| Dynamic |
shortcut to handle the above pattern when value is an integer
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
vButton |
Dynamic |
| Returns |
|---|
| Dynamic |
comboEx(label: Dynamic, currentItem: Dynamic, itemsSeparatedByZeros: Dynamic, ?popupMaxHeightInItems: Dynamic): DynamicSeparate items with \0 within a string, end item-list with \0\0. e.g. "One\0Two\0Three\0"
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
currentItem |
Dynamic | |
itemsSeparatedByZeros |
Dynamic | |
popupMaxHeightInItems |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied popup_max_height_in_items = -1
| Name | Type |
|---|---|
label |
Dynamic |
currentItem |
Dynamic |
itemsSeparatedByZeros |
Dynamic |
| Returns |
|---|
| Dynamic |
dragFloatEx(label: Dynamic, v: Dynamic, ?vSpeed: Dynamic, ?vMin: Dynamic, ?vMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): DynamicIf v_min >= v_max we have no bound
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
vSpeed |
Dynamic | (optional) |
vMin |
Dynamic | (optional) |
vMax |
Dynamic | (optional) |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
| Returns |
|---|
| Dynamic |
dragFloatRange2Ex(label: Dynamic, vCurrentMin: Dynamic, vCurrentMax: Dynamic, ?vSpeed: Dynamic, ?vMin: Dynamic, ?vMax: Dynamic, ?format: Dynamic, ?formatMax: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
vCurrentMin |
Dynamic | |
vCurrentMax |
Dynamic | |
vSpeed |
Dynamic | (optional) |
vMin |
Dynamic | (optional) |
vMax |
Dynamic | (optional) |
format |
Dynamic | (optional) |
formatMax |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied v_speed = 1.0f, v_min = 0.0f, v_max = 0.0f, format = "%.3f", format_max = NULL, flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
vCurrentMin |
Dynamic |
vCurrentMax |
Dynamic |
| Returns |
|---|
| Dynamic |
dragIntEx(label: Dynamic, v: Dynamic, ?vSpeed: Dynamic, ?vMin: Dynamic, ?vMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): DynamicIf v_min >= v_max we have no bound
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
vSpeed |
Dynamic | (optional) |
vMin |
Dynamic | (optional) |
vMax |
Dynamic | (optional) |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
| Returns |
|---|
| Dynamic |
dragIntRange2Ex(label: Dynamic, vCurrentMin: Dynamic, vCurrentMax: Dynamic, ?vSpeed: Dynamic, ?vMin: Dynamic, ?vMax: Dynamic, ?format: Dynamic, ?formatMax: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
vCurrentMin |
Dynamic | |
vCurrentMax |
Dynamic | |
vSpeed |
Dynamic | (optional) |
vMin |
Dynamic | (optional) |
vMax |
Dynamic | (optional) |
format |
Dynamic | (optional) |
formatMax |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied v_speed = 1.0f, v_min = 0, v_max = 0, format = "%d", format_max = NULL, flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
vCurrentMin |
Dynamic |
vCurrentMax |
Dynamic |
| Returns |
|---|
| Dynamic |
sliderFloatEx(label: Dynamic, v: Dynamic, vMin: Dynamic, vMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamicadjust format to decorate the value with a prefix or a suffix for in-slider labels or unit display.
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
vMin |
Dynamic | |
vMax |
Dynamic | |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied format = "%.3f", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
vMin |
Dynamic |
vMax |
Dynamic |
| Returns |
|---|
| Dynamic |
sliderAngleEx(label: Dynamic, vRad: Dynamic, ?vDegreesMin: Dynamic, vDegreesMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
vRad |
Dynamic | |
vDegreesMin |
Dynamic | (optional) |
vDegreesMax |
Dynamic | |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied v_degrees_min = -360.0f, v_degrees_max = +360.0f, format = "%.0f deg", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
vRad |
Dynamic |
| Returns |
|---|
| Dynamic |
sliderIntEx(label: Dynamic, v: Dynamic, vMin: Dynamic, vMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
vMin |
Dynamic | |
vMax |
Dynamic | |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied format = "%d", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
vMin |
Dynamic |
vMax |
Dynamic |
| Returns |
|---|
| Dynamic |
vSliderFloatEx(label: Dynamic, size: Dynamic, v: Dynamic, vMin: Dynamic, vMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
size |
Dynamic | |
v |
Dynamic | |
vMin |
Dynamic | |
vMax |
Dynamic | |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied format = "%.3f", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
size |
Dynamic |
v |
Dynamic |
vMin |
Dynamic |
vMax |
Dynamic |
| Returns |
|---|
| Dynamic |
vSliderIntEx(label: Dynamic, size: Dynamic, v: Dynamic, vMin: Dynamic, vMax: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
size |
Dynamic | |
v |
Dynamic | |
vMin |
Dynamic | |
vMax |
Dynamic | |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied format = "%d", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
size |
Dynamic |
v |
Dynamic |
vMin |
Dynamic |
vMax |
Dynamic |
| Returns |
|---|
| Dynamic |
inputTextEx(label: Dynamic, buf: Dynamic, ?maxLength: Dynamic, ?flags: Dynamic, ?callback: Dynamic, ?userData: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
buf |
Dynamic | |
maxLength |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
callback |
Dynamic | (optional) |
userData |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied callback = NULL, user_data = NULL
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
buf |
Dynamic | |
maxLength |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
inputTextMultilineEx(label: Dynamic, buf: Dynamic, ?maxLength: Dynamic, size: Dynamic, ?flags: Dynamic, ?callback: Dynamic, ?userData: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
buf |
Dynamic | |
maxLength |
Dynamic | (optional) |
size |
Dynamic | |
flags |
Dynamic | (optional) |
callback |
Dynamic | (optional) |
userData |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied size = ImVec2(0, 0), flags = 0, callback = NULL, user_data = NULL
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
buf |
Dynamic | |
maxLength |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
inputTextWithHintEx(label: Dynamic, hint: Dynamic, buf: Dynamic, ?maxLength: Dynamic, ?flags: Dynamic, ?callback: Dynamic, ?userData: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
hint |
Dynamic | |
buf |
Dynamic | |
maxLength |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
callback |
Dynamic | (optional) |
userData |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
inputTextWithHint(label: Dynamic, hint: Dynamic, buf: Dynamic, ?maxLength: Dynamic, ?flags: Dynamic): DynamicImplied callback = NULL, user_data = NULL
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
hint |
Dynamic | |
buf |
Dynamic | |
maxLength |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
inputFloatEx(label: Dynamic, v: Dynamic, ?step: Dynamic, ?stepFast: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
step |
Dynamic | (optional) |
stepFast |
Dynamic | (optional) |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied step = 0.0f, step_fast = 0.0f, format = "%.3f", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
| Returns |
|---|
| Dynamic |
inputIntEx(label: Dynamic, v: Dynamic, ?step: Dynamic, ?stepFast: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
step |
Dynamic | (optional) |
stepFast |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied step = 1, step_fast = 100, flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
| Returns |
|---|
| Dynamic |
inputDoubleEx(label: Dynamic, v: Dynamic, ?step: Dynamic, ?stepFast: Dynamic, ?format: Dynamic, ?flags: Dynamic): Dynamic| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
v |
Dynamic | |
step |
Dynamic | (optional) |
stepFast |
Dynamic | (optional) |
format |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
Implied step = 0.0, step_fast = 0.0, format = "%.6f", flags = 0
| Name | Type |
|---|---|
label |
Dynamic |
v |
Dynamic |
| Returns |
|---|
| Dynamic |
when 'p_visible != NULL': if '*p_visible==true' display an additional small close button on upper right of the header which will set the bool to false when clicked, if '*p_visible==false' don't display the header.
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
pVisible |
Dynamic | |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
"bool* p_selected" point to the selection state (read-write), as a convenient helper.
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
pSelected |
Dynamic | |
flags |
Dynamic | (optional) |
size |
Dynamic |
| Returns |
|---|
| Dynamic |
Implied size = ImVec2(0, 0)
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
pSelected |
Dynamic | |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
return true when activated + toggle (*p_selected) if p_selected != NULL
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
shortcut |
Dynamic | |
pSelected |
Dynamic | |
enabled |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
return true if the modal is open, and you can start outputting to it.
| Name | Type | Default |
|---|---|---|
name |
Dynamic | |
pOpen |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
create a Tab. Returns true if the Tab is selected.
| Name | Type | Default |
|---|---|---|
label |
Dynamic | |
pOpen |
Dynamic | (optional) |
flags |
Dynamic | (optional) |
| Returns |
|---|
| Dynamic |
colorConvertRGBtoHSV(r: Dynamic, g: Dynamic, b: Dynamic, outH: Dynamic, outS: Dynamic, outV: Dynamic): Dynamic| Name | Type |
|---|---|
r |
Dynamic |
g |
Dynamic |
b |
Dynamic |
outH |
Dynamic |
outS |
Dynamic |
outV |
Dynamic |
| Returns |
|---|
| Dynamic |
colorConvertHSVtoRGB(h: Dynamic, s: Dynamic, v: Dynamic, outR: Dynamic, outG: Dynamic, outB: Dynamic): Dynamic| Name | Type |
|---|---|
h |
Dynamic |
s |
Dynamic |
v |
Dynamic |
outR |
Dynamic |
outG |
Dynamic |
outB |
Dynamic |
| Returns |
|---|
| Dynamic |