background-opacity support
This commit is contained in:
@@ -60,6 +60,7 @@ enum class PropertyKey {
|
||||
RasterContrast,
|
||||
RasterFade,
|
||||
|
||||
BackgroundOpacity,
|
||||
BackgroundColor
|
||||
};
|
||||
|
||||
|
||||
@@ -92,6 +92,7 @@ struct RasterProperties {
|
||||
|
||||
struct BackgroundProperties {
|
||||
inline BackgroundProperties() {}
|
||||
float opacity = 1.0f;
|
||||
Color color = {{ 0, 0, 0, 1 }};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user