Add subtractive blending mode to backends

This commit is contained in:
Jack Andersen
2017-09-04 16:59:41 -10:00
parent 18cbfd2865
commit dd6e53119a
6 changed files with 71 additions and 11 deletions

View File

@@ -216,7 +216,10 @@ enum class BlendFactor
DstAlpha,
InvDstAlpha,
SrcColor1,
InvSrcColor1
InvSrcColor1,
/* Special value that activates DstColor - SrcColor blending */
Subtract
};
/** Factory object for creating batches of resources as an IGraphicsData token */