API update

Caleb Cornett 2022-11-04 23:21:35 -04:00
parent 330896a7be
commit fe62b9dc17
1 changed files with 0 additions and 24 deletions

View File

@ -455,7 +455,6 @@ namespace RefreshCS
public uint height; public uint height;
public uint depth; public uint depth;
public byte isCube; public byte isCube;
public SampleCount sampleCount;
public uint levelCount; public uint levelCount;
public TextureFormat format; public TextureFormat format;
public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */ public TextureUsageFlags usageFlags; /* Refresh_TextureUsageFlags */
@ -520,7 +519,6 @@ namespace RefreshCS
public struct ColorAttachmentDescription public struct ColorAttachmentDescription
{ {
public TextureFormat format; public TextureFormat format;
public SampleCount sampleCount;
public ColorAttachmentBlendState blendState; public ColorAttachmentBlendState blendState;
} }
@ -825,17 +823,6 @@ namespace RefreshCS
public static extern void Refresh_BeginRenderPass( public static extern void Refresh_BeginRenderPass(
IntPtr device, IntPtr device,
IntPtr commandBuffer, IntPtr commandBuffer,
in Rect renderArea,
IntPtr colorAttachmentInfos,
uint colorAttachmentCount,
IntPtr depthStencilAttachmentInfo /* can be NULL */
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
IntPtr renderArea, /* can be NULL */
IntPtr colorAttachmentInfos, IntPtr colorAttachmentInfos,
uint colorAttachmentCount, uint colorAttachmentCount,
IntPtr depthStencilAttachmentInfo /* can be NULL */ IntPtr depthStencilAttachmentInfo /* can be NULL */
@ -845,17 +832,6 @@ namespace RefreshCS
public static unsafe extern void Refresh_BeginRenderPass( public static unsafe extern void Refresh_BeginRenderPass(
IntPtr device, IntPtr device,
IntPtr commandBuffer, IntPtr commandBuffer,
in Rect renderArea,
ColorAttachmentInfo* colorAttachmentInfos,
uint colorAttachmentCount,
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */
);
[DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)]
public static unsafe extern void Refresh_BeginRenderPass(
IntPtr device,
IntPtr commandBuffer,
IntPtr renderArea, /* can be NULL */
ColorAttachmentInfo* colorAttachmentInfos, ColorAttachmentInfo* colorAttachmentInfos,
uint colorAttachmentCount, uint colorAttachmentCount,
DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */ DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */