mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-18 12:55:54 +01:00
19 lines
599 B
C#
19 lines
599 B
C#
|
namespace Ryujinx.Graphics.GAL.Multithreading.Commands
|
||
|
{
|
||
|
struct SetBlendStateAdvancedCommand : IGALCommand, IGALCommand<SetBlendStateAdvancedCommand>
|
||
|
{
|
||
|
public CommandType CommandType => CommandType.SetBlendStateAdvanced;
|
||
|
private AdvancedBlendDescriptor _blend;
|
||
|
|
||
|
public void Set(AdvancedBlendDescriptor blend)
|
||
|
{
|
||
|
_blend = blend;
|
||
|
}
|
||
|
|
||
|
public static void Run(ref SetBlendStateAdvancedCommand command, ThreadedRenderer threaded, IRenderer renderer)
|
||
|
{
|
||
|
renderer.Pipeline.SetBlendState(command._blend);
|
||
|
}
|
||
|
}
|
||
|
}
|