igiImage

Category: IGI

Syntax:

igiImage:Void(image:Int, w:Int, h:Int)


Parameters

Returns

Void



Summary

Draws a b2d image inside the GUI.

Takes image (A b2d image handle (b2dLoadImage)), w (Width to draw it (0 = the image's width)), h (Height to draw it (0 = the image's height)).

View detailed documentation online



Example
Global icon:Int = b2dLoadImage("Media/coin.png")
; ...
igiImage(icon, 32, 32)
igiSameLine()
igiText("x " & ToString(coins))

BambooBasic © 2026 Michael Denathorn