RenderTargetColorMasks
This commit is contained in:
parent
dc01de61cd
commit
1b86360a61
3 changed files with 33 additions and 1 deletions
|
@ -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();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue