b2dLoadImage

Category: 2D Overlay

Syntax:

b2dLoadImage:Int(filePath:String)


Parameters

Returns

Int



Summary

Loads image from file for 2D overlay (PNG/JPG/BMP/TGA via stb_image, returns handle).

Takes filePath (image file path, string, relative or absolute).

Returns image handle (positive integer, 0 on failure).

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn