Esempio n. 1
0
		public VirtualSurface(SurfaceFactory factory, int initialWidth, int initialHeight, DXGI.Format format, DXGI.AlphaMode alphaMode)
			: base(IntPtr.Zero)
		{
			factory.CreateVirtualSurface(initialWidth, initialHeight, format, alphaMode, this);
		}
Esempio n. 2
0
 public VirtualSurface(SurfaceFactory factory, int initialWidth, int initialHeight, DXGI.Format format, DXGI.AlphaMode alphaMode)
     : base(IntPtr.Zero)
 {
     factory.CreateVirtualSurface(initialWidth, initialHeight, format, alphaMode, this);
 }