Compare commits

...

2 Commits

Author SHA1 Message Date
Caleb Cornett bc9ed80e04 textures now have a sample count, not render passes + sample count enum fix 2023-01-30 16:41:15 -05:00
TheSpydog 880bf79f3a Remove isFixed param from AcquireCommandBuffer (#6)
Co-authored-by: Caleb Cornett <caleb.cornett@outlook.com>
Reviewed-on: MoonsideGames/RefreshCS#6
Co-authored-by: TheSpydog <thespydog@noreply.example.org>
Co-committed-by: TheSpydog <thespydog@noreply.example.org>
2023-01-14 18:04:17 +00:00
1 changed files with 3 additions and 7 deletions

View File

@ -136,10 +136,7 @@ namespace RefreshCS
One, One,
Two, Two,
Four, Four,
Eight, Eight
Sixteen,
ThirtyTwo,
SixtyFour
} }
public enum CubeMapFace : uint public enum CubeMapFace : uint
@ -461,6 +458,7 @@ namespace RefreshCS
public uint depth; public uint depth;
public byte isCube; public byte isCube;
public uint levelCount; public uint levelCount;
public SampleCount sampleCount;
public TextureFormat format; public TextureFormat format;
public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */ public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */
} }
@ -555,7 +553,6 @@ namespace RefreshCS
public uint depth; public uint depth;
public uint layer; public uint layer;
public uint level; public uint level;
public SampleCount sampleCount;
public Vec4 clearColor; public Vec4 clearColor;
public LoadOp loadOp; public LoadOp loadOp;
public StoreOp storeOp; public StoreOp storeOp;
@ -954,8 +951,7 @@ namespace RefreshCS
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern IntPtr Refresh_AcquireCommandBuffer( public static extern IntPtr Refresh_AcquireCommandBuffer(
IntPtr device, IntPtr device
byte isFixed
); );
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]