1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-14 03:26:39 +00:00
Ryujinx/Ryujinx.Graphics.GAL/BlendDescriptor.cs

36 lines
1.1 KiB
C#
Raw Normal View History

2019-12-29 17:41:50 +00:00
namespace Ryujinx.Graphics.GAL
2019-10-13 07:02:07 +01:00
{
public struct BlendDescriptor
{
public bool Enable { get; }
public ColorF BlendConstant { get; }
2019-10-13 07:02:07 +01:00
public BlendOp ColorOp { get; }
public BlendFactor ColorSrcFactor { get; }
public BlendFactor ColorDstFactor { get; }
public BlendOp AlphaOp { get; }
public BlendFactor AlphaSrcFactor { get; }
public BlendFactor AlphaDstFactor { get; }
public BlendDescriptor(
bool enable,
ColorF blendConstant,
2019-10-13 07:02:07 +01:00
BlendOp colorOp,
BlendFactor colorSrcFactor,
BlendFactor colorDstFactor,
BlendOp alphaOp,
BlendFactor alphaSrcFactor,
BlendFactor alphaDstFactor)
{
Enable = enable;
BlendConstant = blendConstant;
2019-10-13 07:02:07 +01:00
ColorOp = colorOp;
ColorSrcFactor = colorSrcFactor;
ColorDstFactor = colorDstFactor;
AlphaOp = alphaOp;
AlphaSrcFactor = alphaSrcFactor;
AlphaDstFactor = alphaDstFactor;
}
}
}