Files
stgsharp/源代码/StgSharp/Control/IO/GraphicIO.cs
T

24 lines
777 B
C#

using StgSharp.Graphics;
using System;
using System.Collections.Generic;
using System.Runtime.InteropServices;
using System.Text;
namespace StgSharp
{
public static partial class internalIO
{
[DllImport("StgSharpGraphics.dll", EntryPoint = "InitWindow")]
public static extern unsafe IntPtr InitWindow(Window win);
[DllImport("StgSharpGraphics.dll", EntryPoint = "CompileShader")]
public static unsafe extern void CompileShader();
[DllImport("StgSharpGraphics.dll", EntryPoint = "RenderWindow")]
public static unsafe extern void RenderWindow(IntPtr window, Window info);
[DllImport("StgSharpGraphics.dll", EntryPoint = "TerminateWindow")]
public static unsafe extern void TerminateWindow();
}
}