aboutsummaryrefslogtreecommitdiff
path: root/src/Ryujinx.Graphics.GAL/AdvancedBlendDescriptor.cs
blob: e91d9caa4db3b2692a45a3cae5606d50bfa6aab3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
namespace Ryujinx.Graphics.GAL
{
    public readonly struct AdvancedBlendDescriptor
    {
        public AdvancedBlendOp Op { get; }
        public AdvancedBlendOverlap Overlap { get; }
        public bool SrcPreMultiplied { get; }

        public AdvancedBlendDescriptor(AdvancedBlendOp op, AdvancedBlendOverlap overlap, bool srcPreMultiplied)
        {
            Op = op;
            Overlap = overlap;
            SrcPreMultiplied = srcPreMultiplied;
        }
    }
}