YamangTools.YamangDll.InitD3D C# (CSharp) Method

InitD3D() private method

private InitD3D ( IntPtr hWnd, Int32 width = 1280, Int32 height = 720 ) : Int32
hWnd System.IntPtr
width System.Int32
height System.Int32
return System.Int32
        public static extern Int32 InitD3D(IntPtr hWnd, Int32 width = 1280, Int32 height = 720);

Same methods

YamangDll::InitD3D ( IntPtr hWnd, long width = 1280, long height = 720 ) : Int32

Usage Example

示例#1
0
        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();
        }
All Usage Examples Of YamangTools.YamangDll::InitD3D