b2dSetImageSmooth

Category: 2D Overlay

Syntax:

b2dSetImageSmooth:Void(imageHandle:Int, smooth:Int)


Parameters

Returns

Void



Summary

Chooses whether an image is smoothed or kept sharp when it's drawn scaled.

View detailed documentation online



Example
Local img:Int = b2dLoadImage("hero.png")
b2dSetImageSmooth(img, False)          ; crisp when drawn 4x
b2dDrawImageQuad(img, 0, 0, 128, 0, 128, 128, 0, 128)

BambooBasic © 2026 Michael Denathorn