theme: add support for alpha modes
This commit is contained in:
parent
c6db02a43d
commit
37674a229c
5 changed files with 93 additions and 34 deletions
|
|
@ -292,6 +292,14 @@ pub enum ResetStatus {
|
|||
Other(u32),
|
||||
}
|
||||
|
||||
#[derive(Copy, Clone, Debug, Eq, PartialEq, Hash, Default)]
|
||||
pub enum AlphaMode {
|
||||
#[default]
|
||||
PremultipliedElectrical,
|
||||
PremultipliedOptical,
|
||||
Straight,
|
||||
}
|
||||
|
||||
pub trait GfxBlendBuffer: Any + Debug {}
|
||||
|
||||
pub trait GfxFramebuffer: Debug {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue