added NonPremultiplied BlendMode

This commit is contained in:
Noel committed 2022-05-28 09:38:38 -07:00
1 parent 410adbfe12
commit d2703e5050
2 files changed
+14 -1

No files matched your search

+3 -1
View File
@@ -113,8 +113,10 @@ namespace Blah
// BlendMode using for rendering
struct BlendMode
{
// Normal, pre-multiplied, Blend Mode
// Normal is Premultipled Alpha
// TODO: potentially rename normal to match that it is for Premultiplied Alpha?
static const BlendMode Normal;
static const BlendMode NonPremultiplied;
static const BlendMode Subtract;
static const BlendMode Additive;