Ejemplo n.º 1
0
 public ImageMemoryBarrier(Image image, ImageLayout oldLayout, ImageLayout newLayout, AccessFlags sourceAccesMask, AccessFlags destinationAccessMask, uint sourceQueueFamilyIndex, uint destinationQueueFamilyIndex, ImageSubresourceRange subresourceRange)
 {
     StructureType               = StructureType.ImageMemoryBarrier;
     Next                        = IntPtr.Zero;
     Image                       = image;
     SubresourceRange            = subresourceRange;
     OldLayout                   = oldLayout;
     NewLayout                   = newLayout;
     SourceAccessMask            = sourceAccesMask;
     DestinationAccessMask       = destinationAccessMask;
     SourceQueueFamilyIndex      = sourceQueueFamilyIndex;
     DestinationQueueFamilyIndex = destinationQueueFamilyIndex;
 }
Ejemplo n.º 2
0
 public ImageMemoryBarrier(Image image, ImageLayout oldLayout, ImageLayout newLayout, AccessFlags sourceAccesMask, AccessFlags destinationAccessMask, ImageSubresourceRange subresourceRange)
     : this(image, oldLayout, newLayout, sourceAccesMask, destinationAccessMask, Vulkan.QueueFamilyIgnored, Vulkan.QueueFamilyIgnored, subresourceRange)
 {
 }