24 lines
786 B
C#
24 lines
786 B
C#
using StgSharp.Control;
|
|
using StgSharp.Graphics;
|
|
using StgSharp.Graphics.GL;
|
|
using System;
|
|
using System.Runtime.InteropServices;
|
|
|
|
namespace StgSharp
|
|
{
|
|
internal static partial class internalIO
|
|
{
|
|
[DllImport("StgSharpGraphics.dll",
|
|
EntryPoint = "loadGLApi", CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern GraphicIOPack InternalInitGraphicApi();
|
|
|
|
[DllImport("StgSharpGraphics.dll",
|
|
EntryPoint = "InitGL", CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern unsafe void InternalInitGL();
|
|
|
|
[DllImport("StgSharpGraphics.dll",
|
|
EntryPoint = "InitGLAD", CallingConvention = CallingConvention.Cdecl)]
|
|
internal static extern unsafe int InternalInitGLAD();
|
|
}
|
|
}
|