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);
     }
 }
Example #2
0
 internal static unsafe extern void vkCmdResolveImage(CommandBuffer commandBuffer, Image sourceImage, ImageLayout sourceImageLayout, Image destinationImage, ImageLayout destinationImageLayout, uint regionCount, ImageResolve* regions);
Example #3
0
 public unsafe void ResolveImage(Image sourceImage, ImageLayout sourceImageLayout, Image destinationImage, ImageLayout destinationImageLayout, uint regionCount, ImageResolve* regions)
 {
     vkCmdResolveImage(this, sourceImage, sourceImageLayout, destinationImage, destinationImageLayout, regionCount, regions);
 }