TintMode Renders the bitmap tinted to a color.
The bitmap will be tinted to the given color.The alpha value of the color tells the intensity of the tinting. Like any other RenderMode the instance of TintMode is deleted after it's passed to a rendering function. This is to allow for passing a new object to the rendering function without having to worry about destroying it. See the examples of how this works. If you don't wish the TintMode to be deleted after using it you can call the NoAutoDestroy() -method. Note that only one TintMode can take effect at a time! Examples |