mirror of
https://github.com/NoelFB/blah.git
synced 2025-06-29 19:25:26 +08:00
added NonPremultiplied BlendMode
This commit is contained in:
@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user