mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-02 06:47:25 +00:00
33 lines
1 KiB
C#
33 lines
1 KiB
C#
|
namespace Ryujinx.Graphics.GAL.Blend
|
||
|
{
|
||
|
public struct BlendDescriptor
|
||
|
{
|
||
|
public bool Enable { get; }
|
||
|
|
||
|
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,
|
||
|
BlendOp colorOp,
|
||
|
BlendFactor colorSrcFactor,
|
||
|
BlendFactor colorDstFactor,
|
||
|
BlendOp alphaOp,
|
||
|
BlendFactor alphaSrcFactor,
|
||
|
BlendFactor alphaDstFactor)
|
||
|
{
|
||
|
Enable = enable;
|
||
|
ColorOp = colorOp;
|
||
|
ColorSrcFactor = colorSrcFactor;
|
||
|
ColorDstFactor = colorDstFactor;
|
||
|
AlphaOp = alphaOp;
|
||
|
AlphaSrcFactor = alphaSrcFactor;
|
||
|
AlphaDstFactor = alphaDstFactor;
|
||
|
}
|
||
|
}
|
||
|
}
|