Exemplo n.º 1
0
 public unsafe void CmdBindVertexBuffers(UInt32 binding, VkBuffer buffer, UInt64 offset)
 {
     CmdBindVertexBuffers(binding, new VkBuffer[] { buffer }, new UInt64[] { offset });
 }
Exemplo n.º 2
0
 public unsafe void cmdCopyImageToBuffer(VkImage SrcImage, VkImageLayout ImageLayout, VkBuffer DstBuffer, VkBufferImageCopy[] Regions)
 {
     fixed(VkBufferImageCopy *pRegions = &Regions[0])
     {
         _Parent.Device.vkCmdCopyImageToBuffer(_Handle, SrcImage._Handle, ImageLayout, DstBuffer._Handle, (uint)Regions.Length, new IntPtr(pRegions));
     }
 }