public VirtualSurface(SurfaceFactory factory, int initialWidth, int initialHeight, DXGI.Format format, DXGI.AlphaMode alphaMode) : base(IntPtr.Zero) { factory.CreateVirtualSurface(initialWidth, initialHeight, format, alphaMode, this); }
public VirtualSurface(Device device, int initialWidth, int initialHeight, DXGI.Format format, DXGI.AlphaMode alphaMode) : base(IntPtr.Zero) { device.CreateVirtualSurface(initialWidth, initialHeight, format, alphaMode, this); }
public Surface(Device2 device, int width, int height, DXGI.Format format, DXGI.AlphaMode alphaMode) : base(IntPtr.Zero) { device.CreateSurface(width, height, format, alphaMode, this); }