b2dDrawImage

Queues image draw command (deferred rendering, applies current state color/alpha/scale/rotation). Takes imageHandle (image handle from b2dLoadImage, positive integer), x (screen X position in pixels, integer), y (screen Y position in pixels, integer). Returns nothing.

2D Overlay

Parameters & Returns

Parameters

imageHandle Int
x Int
y Int

Returns

Void

Quick Summary

Queues image draw command (deferred rendering, applies current state color/alpha/scale/rotation). Takes imageHandle (image handle from b2dLoadImage, positive integer), x (screen X position in pixels, integer), y (screen Y position in pixels, integer). Returns nothing.

Technical Exegesis...

Queues image draw command (deferred rendering, applies current state color/alpha/scale/rotation). Takes imageHandle (image handle from b2dLoadImage, positive integer), x (screen X position in pixels, integer), y (screen Y position in pixels, integer). Returns nothing. Creates draw command (CMD_DRAW_IMAGE type, stores current state snapshot), queues to command buffer (commands executed during b2dFlip), delegates to b2dDrawImageEx(imageHandle, x, y, 0) internally (extended version with shader=0 for default).

Example

Example.bam
; No example implemented yet