mirror of
https://github.com/slint-ui/slint.git
synced 2025-08-04 10:50:00 +00:00
C++: Generate image texture data for software renderer
This commit is contained in:
parent
b2ebac63c2
commit
ccf3e8e9e9
6 changed files with 117 additions and 33 deletions
|
@ -10,7 +10,7 @@ pub struct Size {
|
|||
pub height: u32,
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, Debug)]
|
||||
#[derive(Clone, Copy, Debug, strum::Display)]
|
||||
pub enum PixelFormat {
|
||||
// 24 bit RGB
|
||||
Rgb,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue