/// <summary> /// Initializes a new instance of the <see cref="ImageSource"/>. /// </summary> public ImageSource(DeviceContext2 context2, DXGI.Surface[] surfaces, int surfaceCount, DXGI.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options) : this(IntPtr.Zero) { context2.CreateImageSourceFromDxgi(surfaces, surfaceCount, colorSpace, options, this); }
/// <summary> /// Initializes a new instance of the <see cref="ImageSource"/>. /// </summary> public ImageSource(DeviceContext2 context2, DXGI.Surface[] surfaces, int surfaceCount, DXGI.ColorSpaceType colorSpace, ImageSourceFromDxgiOptions options) : this(IntPtr.Zero) { context2.CreateImageSourceFromDxgi(surfaces, surfaceCount, colorSpace, options, this); }