Example #1
0
 public void CmdResolveImage(Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ImageResolve?pRegion)
 {
     unsafe {
         ImageResolve  valpRegion = pRegion ?? default(ImageResolve);
         ImageResolve *ptrpRegion = pRegion != null ? &valpRegion : (ImageResolve *)IntPtr.Zero;
         Interop.NativeMethods.vkCmdResolveImage(this.m, srcImage != null ? srcImage.m : default(UInt64), srcImageLayout, dstImage != null ? dstImage.m : default(UInt64), dstImageLayout, (UInt32)(pRegion != null ? 1 : 0), ptrpRegion);
     }
 }
 public static extern unsafe void vkCmdResolveImage(IntPtr commandBuffer, ulong srcImage, ImageLayout srcImageLayout, ulong dstImage, ImageLayout dstImageLayout, uint regionCount, ImageResolve *pRegions);
Example #3
0
 internal static unsafe extern void vkCmdResolveImage(CommandBuffer commandBuffer, Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, UInt32 regionCount, ImageResolve *Regions);
Example #4
0
 internal static unsafe extern void vkCmdResolveImage(IntPtr commandBuffer, UInt64 srcImage, ImageLayout srcImageLayout, UInt64 dstImage, ImageLayout dstImageLayout, UInt32 regionCount, ImageResolve *pRegions);