Esempio n. 1
0
 /// <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);
 }
Esempio n. 2
0
 /// <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);
 }