igiBegin

Category: IGI (in-game GUI) — Windows

Syntax:

igiBegin:Int(title:String)


Parameters

Returns

1 if the window's contents are showing, 0 if it is folded up.



Summary

Opens a window. Everything you call until the matching End goes inside it. Call igiEnd afterwards whether it returned 1 or 0. The window can be moved, resized and folded by the user; the first time it appears ImGui picks its place and size (use igiBeginEx to choose them).

Call it every frame, between drawing your game and b2dFlip. See the IGI guide.



Example
igiBegin("Options")
igiText("Hello")
igiEnd()

BambooBasic © 2026 Michael Denathorn