From bc9ed80e04d28516a3c0c24e2a208c3306f7af0f Mon Sep 17 00:00:00 2001 From: Caleb Cornett Date: Mon, 30 Jan 2023 16:41:15 -0500 Subject: [PATCH] textures now have a sample count, not render passes + sample count enum fix --- src/Refresh.cs | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/src/Refresh.cs b/src/Refresh.cs index 9db2508..ca84250 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -136,10 +136,7 @@ namespace RefreshCS One, Two, Four, - Eight, - Sixteen, - ThirtyTwo, - SixtyFour + Eight } public enum CubeMapFace : uint @@ -461,6 +458,7 @@ namespace RefreshCS public uint depth; public byte isCube; public uint levelCount; + public SampleCount sampleCount; public TextureFormat format; public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */ } @@ -555,7 +553,6 @@ namespace RefreshCS public uint depth; public uint layer; public uint level; - public SampleCount sampleCount; public Vec4 clearColor; public LoadOp loadOp; public StoreOp storeOp;