CanvasSwapChainCreateForCoreWindow Method (ICanvasResourceCreator, CoreWindow, Single) |
Namespace: Microsoft.Graphics.Canvas
public static CanvasSwapChain CreateForCoreWindow( ICanvasResourceCreator resourceCreator, CoreWindow coreWindow, float dpi )
The swap chain size matches the current size of the specified CoreWindow. The pixel size of the swap chain is calculated using the provided dpi.
The swap chain's pixel format will default to DirectXPixelFormat.B8G8R8A8UIntNormalized, its buffer count will be 2, and its alpha mode will be CanvasAlphaMode.Ignore.
The TransformMatrix property is not available when the CanvasSwapChain is created with this method.