Skip to content

Commit

Permalink
add empty depth stencil clear option to BeginRenderPass
Browse files Browse the repository at this point in the history
  • Loading branch information
thatcosmonaut committed Jan 15, 2021
1 parent 377d53f commit 3379b95
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Refresh.cs
Original file line number Diff line number Diff line change
Expand Up @@ -896,6 +896,18 @@ IntPtr graphicsPipeline
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,
Expand Down

0 comments on commit 3379b95

Please sign in to comment.