mirror of https://github.com/MLXXXp/Arduboy2.git
Add additional information to drawExternalMask
This information is already contained in the main details block, but providing it here as well should make it more obvious.
This commit is contained in:
parent
2fbde21e66
commit
891f68a0be
|
@ -89,6 +89,9 @@ class Sprites
|
|||
* An array containing the image frames, and another array containing
|
||||
* corresponding mask frames, are used to draw a sprite.
|
||||
*
|
||||
* For the mask array, the width and height are not included but must
|
||||
* contain data of the same dimensions as the corresponding image array.
|
||||
*
|
||||
* Bits set to 1 in the mask indicate that the pixel will be set to the
|
||||
* value of the corresponding image bit. Bits set to 0 in the mask will be
|
||||
* left unchanged.
|
||||
|
|
Loading…
Reference in New Issue