Function Device.createSwapchain

abstract Swapchain createSwapchain (
  Surface surface,
  PresentMode pm,
  uint numImages,
  Format format,
  uint[2] size,
  ImageUsage usage,
  CompositeAlpha alpha,
  Swapchain former = null
);