diff --git a/src/Refresh.cs b/src/Refresh.cs index c31c1d9..8d7f34b 100644 --- a/src/Refresh.cs +++ b/src/Refresh.cs @@ -896,6 +896,18 @@ namespace RefreshCS ref DepthStencilValue depthStencilClearValue ); + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] + public static extern void Refresh_BeginRenderPass( + IntPtr device, + IntPtr commandBuffer, + IntPtr renderPass, + IntPtr framebuffer, + ref Rect renderArea, + IntPtr pColorClearValues, + uint colorClearCount, + IntPtr depthStencilClearValue /* NULL */ + ); + [DllImport(nativeLibName, CallingConvention = CallingConvention.Cdecl)] public static extern void Refresh_EndRenderPass( IntPtr device,