forked from MoonsideGames/RefreshCS
add empty depth stencil clear option to BeginRenderPass
parent
377d53f7a9
commit
3379b95e44
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue