Esempio n. 1
0
 public void CmdClearDepthStencilImage(Image image, ImageLayout imageLayout, ClearDepthStencilValue pDepthStencil, ImageSubresourceRange?pRange)
 {
     unsafe {
         ImageSubresourceRange  valpRange = pRange ?? default(ImageSubresourceRange);
         ImageSubresourceRange *ptrpRange = pRange != null ? &valpRange : (ImageSubresourceRange *)IntPtr.Zero;
         Interop.NativeMethods.vkCmdClearDepthStencilImage(this.m, image != null ? image.m : default(UInt64), imageLayout, &pDepthStencil, (UInt32)(pRange != null ? 1 : 0), ptrpRange);
     }
 }
Esempio n. 2
0
 public void CmdClearColorImage(Image image, ImageLayout imageLayout, ClearColorValue pColor, ImageSubresourceRange?pRange)
 {
     unsafe {
         ImageSubresourceRange  valpRange = pRange ?? default(ImageSubresourceRange);
         ImageSubresourceRange *ptrpRange = pRange != null ? &valpRange : (ImageSubresourceRange *)IntPtr.Zero;
         Interop.NativeMethods.vkCmdClearColorImage(this.m, image != null ? image.m : default(UInt64), imageLayout, pColor != null ? pColor.m : (Interop.ClearColorValue *) default(IntPtr), (UInt32)(pRange != null ? 1 : 0), ptrpRange);
     }
 }
Esempio n. 3
0
 public static extern unsafe void vkCmdClearDepthStencilImage(IntPtr commandBuffer, ulong image, ImageLayout imageLayout, ClearDepthStencilValue *pDepthStencil, uint rangeCount, ImageSubresourceRange *pRanges);
Esempio n. 4
0
 public static extern unsafe void vkCmdClearColorImage(IntPtr commandBuffer, ulong image, ImageLayout imageLayout, ClearColorValue *pColor, uint rangeCount, ImageSubresourceRange *pRanges);
Esempio n. 5
0
 internal static unsafe extern void vkCmdClearDepthStencilImage(CommandBuffer commandBuffer, Image image, ImageLayout imageLayout, ClearDepthStencilValue *DepthStencil, UInt32 rangeCount, ImageSubresourceRange *Ranges);
Esempio n. 6
0
 internal static unsafe extern void vkCmdClearColorImage(CommandBuffer commandBuffer, Image image, ImageLayout imageLayout, ClearColorValue *Color, UInt32 rangeCount, ImageSubresourceRange *Ranges);