public void CmdCopyImage(Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, ImageCopy?pRegion) { unsafe { ImageCopy valpRegion = pRegion ?? default(ImageCopy); ImageCopy *ptrpRegion = pRegion != null ? &valpRegion : (ImageCopy *)IntPtr.Zero; Interop.NativeMethods.vkCmdCopyImage(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 vkCmdCopyImage(IntPtr commandBuffer, ulong srcImage, ImageLayout srcImageLayout, ulong dstImage, ImageLayout dstImageLayout, uint regionCount, ImageCopy *pRegions);
internal static unsafe extern void vkCmdCopyImage(CommandBuffer commandBuffer, Image srcImage, ImageLayout srcImageLayout, Image dstImage, ImageLayout dstImageLayout, UInt32 regionCount, ImageCopy *Regions);
internal static unsafe extern void vkCmdCopyImage(IntPtr commandBuffer, UInt64 srcImage, ImageLayout srcImageLayout, UInt64 dstImage, ImageLayout dstImageLayout, UInt32 regionCount, ImageCopy *pRegions);