daily update on 20230609 by nitload youmu, graphic arragement for better form init
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using StgSharp.Graphics;
|
||||
using StgSharp.Graphics.GL;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Runtime.InteropServices;
|
||||
@@ -6,18 +7,29 @@ using System.Text;
|
||||
|
||||
namespace StgSharp
|
||||
{
|
||||
public static partial class internalIO
|
||||
internal static partial class internalIO
|
||||
{
|
||||
[DllImport("StgSharpGraphics.dll", EntryPoint = "InitGL")]
|
||||
internal static extern unsafe void InternalInitGL();
|
||||
|
||||
[DllImport("StgSharpGraphics.dll", EntryPoint = "InitWindow")]
|
||||
public static extern unsafe IntPtr InitWindow(Window win);
|
||||
internal static extern unsafe IntPtr InternalInitWindow(formInfo win);
|
||||
|
||||
[DllImport("StgSharpGraphics.dll", EntryPoint = "CompileShader")]
|
||||
public static unsafe extern void CompileShader();
|
||||
internal static unsafe extern void InternalCompileShader
|
||||
(
|
||||
shaderObject* shaderObj
|
||||
);
|
||||
|
||||
[DllImport("StgSharpGraphics.dll", EntryPoint = "RenderWindow")]
|
||||
public static unsafe extern void RenderWindow(IntPtr window, Window info);
|
||||
internal static unsafe extern void InternalRenderWindow
|
||||
(
|
||||
IntPtr window,
|
||||
formInfo info,
|
||||
shaderObject* shaderObj
|
||||
);
|
||||
|
||||
[DllImport("StgSharpGraphics.dll", EntryPoint = "TerminateWindow")]
|
||||
public static unsafe extern void TerminateWindow();
|
||||
internal static unsafe extern void TerminateWindow(shaderObject* shaderObj);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user