X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcore%2Fblend.h;h=50ea13bd28a897bd6bc3fa491baffaeb66cb8ab4;hb=11a5d4f2a35dfdcf61e16d4fcfba22e20ea6a3db;hp=1d39b08fd30b586ba8889b402310ffbb13aae9c5;hpb=38712d8ecc57d043a2419ffbaeeb57f7a6586f14;p=libs%2Fgl.git diff --git a/source/core/blend.h b/source/core/blend.h index 1d39b08f..50ea13bd 100644 --- a/source/core/blend.h +++ b/source/core/blend.h @@ -8,7 +8,7 @@ namespace Msp { namespace GL { -enum BlendEquation +enum BlendEquation: std::uint8_t { ADD, SUBTRACT, @@ -17,7 +17,7 @@ enum BlendEquation MAX }; -enum BlendFactor +enum BlendFactor: std::uint8_t { ZERO, ONE, @@ -35,7 +35,7 @@ enum BlendFactor ONE_MINUS_CONSTANT_ALPHA }; -enum ColorWriteMask +enum ColorWriteMask: std::uint8_t { WRITE_NONE = 0, WRITE_RED = 1, @@ -46,7 +46,7 @@ enum ColorWriteMask }; /** -Blends incoming fragments with those already in the framebuffer. +Blends incoming fragment color values with those already in the framebuffer. */ struct Blend {