fixes
This commit is contained in:
parent
3d40256bde
commit
8489c57d40
8 changed files with 135 additions and 14 deletions
|
|
@ -107,6 +107,11 @@ namespace Crafter {
|
|||
std::chrono::duration<double> delta;
|
||||
};
|
||||
|
||||
export enum class OpaqueType {
|
||||
FullyOpaque, // All pixels have A of 255
|
||||
SemiOpaque, // All pixels have A of 0 or 255 (no blending needed)
|
||||
Transparent // Color blending is used
|
||||
};
|
||||
|
||||
export constexpr std::int_fast32_t BOUND = 9;
|
||||
export constexpr std::int_fast32_t SCALE = std::numeric_limits<std::int_fast32_t>::max() / BOUND;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue