diff --git a/src/Refresh.cs b/src/Refresh.cs index 65f4c22..93dbf8e 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -824,6 +824,16 @@ namespace RefreshCS 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, + uint colorAttachmentCount, + IntPtr depthStencilAttachmentInfo /* can be NULL */ + ); + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static unsafe extern void Refresh_BeginRenderPass( IntPtr device, @@ -834,6 +844,16 @@ namespace RefreshCS 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, + uint colorAttachmentCount, + DepthStencilAttachmentInfo* depthStencilAttachmentInfo /* can be NULL */ + ); + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_EndRenderPass( IntPtr device,