Render() public method

public Render ( ) : void
return void
コード例 #1
0
ファイル: MainPage.xaml.cs プロジェクト: liquidboy/X
        private async Task DoWorkAsyncInfiniteLoop(D3D12Pipeline pipeline)
        {
            while (true)
            {
                // do the work in the loop
                pipeline.Update();

                // update the UI
                pipeline.Render();
                
                // don't run again for at least 200 milliseconds
                await Task.Delay(30);
            }
        }
コード例 #2
0
ファイル: MainPage.xaml.cs プロジェクト: steamypassion/X
        private async Task DoWorkAsyncInfiniteLoop(D3D12Pipeline pipeline)
        {
            while (true)
            {
                // do the work in the loop
                pipeline.Update();

                // update the UI
                pipeline.Render();

                // don't run again for at least 200 milliseconds
                await Task.Delay(30);
            }
        }