daily update on 20240315 by nitload youmu

This commit is contained in:
YoumuLiu
2024-03-16 03:09:00 +08:00
parent a770bbe685
commit 15bf989285
84 changed files with 1064 additions and 1981 deletions
+3 -18
View File
@@ -6,6 +6,7 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Linq;
using System.Reflection;
using System.Runtime.CompilerServices;
@@ -33,10 +34,10 @@ namespace StgSharp
VK
}
public static partial class Platform
public static partial class StgSharp
{
internal static GraphicAPI API = default;
private static bool vsyncActivated;
private static uint markCount = 0;
public static void Mark(bool needConsole)
@@ -55,22 +56,6 @@ namespace StgSharp
/// </summary>
public const long version = 430;
/// <summary>
/// Init an instance of OpenGL program,
/// This method should be called before other
/// graphic methods, after LoadGL method.
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static void InitGL(int majorVersion, int minorVersion)
{
if (API != default)
{
return;
}
InternalIO.InternalInitGL(majorVersion, minorVersion);
}
/// <summary>
/// Write a log message to log file, and mark the level of this message.
/// </summary>