Files
stgsharp/test/StgSharpDebug/TestRender.cs
T

39 lines
1018 B
C#

// -----------------------------------------------------------------------------
// 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.GlobalSetting.VSyncActivated = false;
ViewSurface vp = new ViewSurface(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);
}
}
}