mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2025-08-05 15:22:34 -07:00
RenderTargetColorMasks
This commit is contained in:
committed by
Isaac Marovitz
parent
dc01de61cd
commit
1b86360a61
@@ -1,6 +1,7 @@
|
||||
using Ryujinx.Graphics.GAL;
|
||||
using SharpMetal.Metal;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Runtime.Versioning;
|
||||
|
||||
namespace Ryujinx.Graphics.Metal
|
||||
@@ -64,6 +65,8 @@ namespace Ryujinx.Graphics.Metal
|
||||
// Changes to attachments take recreation!
|
||||
public Texture DepthStencil = default;
|
||||
public Texture[] RenderTargets = new Texture[Constants.MaxColorAttachments];
|
||||
|
||||
public MTLColorWriteMask[] RenderTargetMasks = Enumerable.Repeat(MTLColorWriteMask.All, Constants.MaxColorAttachments).ToArray();
|
||||
public BlendDescriptor?[] BlendDescriptors = new BlendDescriptor?[Constants.MaxColorAttachments];
|
||||
public ColorF BlendColor = new();
|
||||
|
||||
|
Reference in New Issue
Block a user