Exemplo n.º 1
0
 public void CmdCopyImageToBuffer(Image srcImage, ImageLayout srcImageLayout, VulkanBuffer dstBuffer, BufferImageCopy?pRegion)
 {
     unsafe {
         BufferImageCopy  valpRegion = pRegion ?? default(BufferImageCopy);
         BufferImageCopy *ptrpRegion = pRegion != null ? &valpRegion : (BufferImageCopy *)IntPtr.Zero;
         Interop.NativeMethods.vkCmdCopyImageToBuffer(this.m, srcImage != null ? srcImage.m : default(UInt64), srcImageLayout, dstBuffer != null ? dstBuffer.m : default(UInt64), (UInt32)(pRegion != null ? 1 : 0), ptrpRegion);
     }
 }
Exemplo n.º 2
0
 public void CmdCopyBufferToImage(VulkanBuffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, BufferImageCopy?pRegion)
 {
     unsafe {
         BufferImageCopy  valpRegion = pRegion ?? default(BufferImageCopy);
         BufferImageCopy *ptrpRegion = pRegion != null ? &valpRegion : (BufferImageCopy *)IntPtr.Zero;
         Interop.NativeMethods.vkCmdCopyBufferToImage(this.m, srcBuffer != null ? srcBuffer.m : default(UInt64), dstImage != null ? dstImage.m : default(UInt64), dstImageLayout, (UInt32)(pRegion != null ? 1 : 0), ptrpRegion);
     }
 }
Exemplo n.º 3
0
 public static extern unsafe void vkCmdCopyImageToBuffer(IntPtr commandBuffer, ulong srcImage, ImageLayout srcImageLayout, ulong dstBuffer, uint regionCount, BufferImageCopy *pRegions);
Exemplo n.º 4
0
 public static extern unsafe void vkCmdCopyBufferToImage(IntPtr commandBuffer, ulong srcBuffer, ulong dstImage, ImageLayout dstImageLayout, uint regionCount, BufferImageCopy *pRegions);
Exemplo n.º 5
0
 internal static unsafe extern void vkCmdCopyImageToBuffer(CommandBuffer commandBuffer, Image srcImage, ImageLayout srcImageLayout, Buffer dstBuffer, UInt32 regionCount, BufferImageCopy *Regions);
Exemplo n.º 6
0
 internal static unsafe extern void vkCmdCopyBufferToImage(CommandBuffer commandBuffer, Buffer srcBuffer, Image dstImage, ImageLayout dstImageLayout, UInt32 regionCount, BufferImageCopy *Regions);
Exemplo n.º 7
0
 internal static unsafe extern void vkCmdCopyImageToBuffer(IntPtr commandBuffer, UInt64 srcImage, ImageLayout srcImageLayout, UInt64 dstBuffer, UInt32 regionCount, BufferImageCopy *pRegions);
Exemplo n.º 8
0
 internal static unsafe extern void vkCmdCopyBufferToImage(IntPtr commandBuffer, UInt64 srcBuffer, UInt64 dstImage, ImageLayout dstImageLayout, UInt32 regionCount, BufferImageCopy *pRegions);