예제 #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="WicRenderTarget"/> class from a <see cref="SharpDX.WIC.Bitmap"/>.
 /// </summary>
 /// <param name="factory">The factory.</param>
 /// <param name="wicBitmap">The wic bitmap.</param>
 /// <param name="renderTargetProperties">The render target properties.</param>
 public WicRenderTarget(Factory factory, WIC.Bitmap wicBitmap, RenderTargetProperties renderTargetProperties)
     : base(IntPtr.Zero)
 {
     factory.CreateWicBitmapRenderTarget(wicBitmap, ref renderTargetProperties, this);
 }