Updated to allow dynamic code-time supply of an alpha mask and a background color