public Main() { InitializeComponent(); YamangDll.InitD3D(this.RenderTarget.Handle); YamangDll.HeightMapTextureImport(this.RenderTarget.Handle, heightMap, mapTexture); // YamangDll.MapToolTextureImport(this.RenderTarget.Handle, mapTexture0); // YamangDll.MapToolTextureImport(this.RenderTarget.Handle, mapTexture1); // YamangDll.MapToolTextureImport(this.RenderTarget.Handle, mapTexture2); // YamangDll.MapToolTextureImport(this.RenderTarget.Handle, mapTexture3); // YamangDll.MapToolTextureImport(this.RenderTarget.Handle, mapTexture4); Render(); }
public Main() { InitializeComponent(); YamangDll.InitD3D(this.Window.Handle); Render(); }