daily update on 20230623 by nitload youmu, SSG lib rewrite

This commit is contained in:
Nitload
2023-06-24 01:03:48 +08:00
parent ee8132c149
commit f99a0674b0
193 changed files with 16115 additions and 8972 deletions
+2 -26
View File
@@ -17,31 +17,7 @@ namespace StgSharp
internal static extern unsafe void InternalInitGL();
[DllImport("StgSharpGraphics.dll",
EntryPoint = "InitWindow", CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe IntPtr InternalInitWindow(formInfo win);
[DllImport("StgSharpGraphics.dll",
EntryPoint = "CompileShader", CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe void InternalCompileShader
(
shaderObject* shaderObj
);
[DllImport("StgSharpGraphics.dll", EntryPoint = "SSGraphicShouldWindowClose",
CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe int InternalShouldFormClose(IntPtr formPtr);
[DllImport("StgSharpGraphics.dll",
EntryPoint = "RenderWindow", CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe void InternalRenderWindow
(
IntPtr window,
formInfo info,
shaderObject* shaderObj
);
[DllImport("StgSharpGraphics.dll", EntryPoint = "TerminateWindow"
, CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe void TerminateWindow(shaderObject* shaderObj);
EntryPoint = "InitGLAD", CallingConvention = CallingConvention.Cdecl)]
internal static extern unsafe int InternalInitGLAD();
}
}