Using new file structure. Use new regexir display method. Fix line dependency error in prefix analysing.
Signed-off-by: Nitload <YoumuLiu_NSI@whv0t.onmicrosoft.com>
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
// -----------------------------------------------------------------------------
|
||||
// file="TestRender"
|
||||
// Project: StgSharp
|
||||
// Copyright (c) Nitload.
|
||||
// SPDX-License-Identifier: MIT
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
using StgSharp.Collections;
|
||||
using StgSharp.Graphics;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System.Threading.Tasks;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
internal static partial class Program
|
||||
{
|
||||
|
||||
public static void TestRender()
|
||||
{
|
||||
// World.InitGL(4, 6);
|
||||
World.GlobalSetting.VSyncActivated = false;
|
||||
|
||||
ViewPort vp = new ViewPort(800, 600, "Hello StgSharp!", IntPtr.Zero);
|
||||
|
||||
// throw new NotImplementedException();
|
||||
/*
|
||||
ViewModelBase mainModel = new ViewModelMain(vp);
|
||||
mainModel.CreateAndBindView<ViewMain>("MainView", (1, 1, 1));
|
||||
|
||||
mainModel.UseViewModel("MainView");
|
||||
/**/
|
||||
World.Terminate(0);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user