36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using StgSharp.Graphics;
|
|
using StgSharp.Graphics.GL;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Runtime.InteropServices;
|
|
using System.Text;
|
|
|
|
namespace StgSharp
|
|
{
|
|
internal static partial class internalIO
|
|
{
|
|
[DllImport("StgSharpGraphics.dll", EntryPoint = "InitGL")]
|
|
internal static extern unsafe void InternalInitGL();
|
|
|
|
[DllImport("StgSharpGraphics.dll", EntryPoint = "InitWindow")]
|
|
internal static extern unsafe IntPtr InternalInitWindow(formInfo win);
|
|
|
|
[DllImport("StgSharpGraphics.dll", EntryPoint = "CompileShader")]
|
|
internal static unsafe extern void InternalCompileShader
|
|
(
|
|
shaderObject* shaderObj
|
|
);
|
|
|
|
[DllImport("StgSharpGraphics.dll", EntryPoint = "RenderWindow")]
|
|
internal static unsafe extern void InternalRenderWindow
|
|
(
|
|
IntPtr window,
|
|
formInfo info,
|
|
shaderObject* shaderObj
|
|
);
|
|
|
|
[DllImport("StgSharpGraphics.dll", EntryPoint = "TerminateWindow")]
|
|
internal static unsafe extern void TerminateWindow(shaderObject* shaderObj);
|
|
}
|
|
}
|