blade: mono/poly chrome sprite rendering
This commit is contained in:
parent
59642bf29a
commit
d0a0ce1885
4 changed files with 208 additions and 22 deletions
|
@ -642,6 +642,7 @@ pub(crate) struct PolychromeSprite {
|
|||
pub corner_radii: Corners<ScaledPixels>,
|
||||
pub tile: AtlasTile,
|
||||
pub grayscale: bool,
|
||||
pub pad: u32, // align to 8 bytes
|
||||
}
|
||||
|
||||
impl Ord for PolychromeSprite {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue