daily update on 20230927 by nitload youmu, all polygon4 display available, optimizing on C/C# interoperation
This commit is contained in:
@@ -16,6 +16,22 @@ namespace StgSharp
|
||||
CallingConvention = CallingConvention.Cdecl, CharSet = CharSet.Ansi)]
|
||||
internal static extern unsafe int InternalInitGLAD();
|
||||
|
||||
[DllImport(SSGC_libname, EntryPoint = "loadShaderCode",
|
||||
CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern unsafe uint InternalLoadShaderCode(byte* shaderCode, int shaderType);
|
||||
|
||||
[DllImport(SSGC_libname, EntryPoint = "linkShaderProgram",
|
||||
CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern uint InternalLinkShaderProgram(uint shaderProgram);
|
||||
|
||||
[DllImport(SSGC_libname, EntryPoint = "readLog",
|
||||
CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern unsafe IntPtr InternalReadLog();
|
||||
|
||||
|
||||
|
||||
|
||||
#region GLFW
|
||||
|
||||
[DllImport(SSGC_libname, EntryPoint = "glfwGetWindowUserPointer",
|
||||
CallingConvention = CallingConvention.Cdecl)]
|
||||
@@ -393,6 +409,7 @@ namespace StgSharp
|
||||
[DllImport(SSGC_libname, EntryPoint = "byte*", CallingConvention = CallingConvention.Cdecl)]
|
||||
internal static extern unsafe byte* glfwGetClipboardString(GLFWwindow* window);
|
||||
|
||||
#endregion
|
||||
|
||||
|
||||
//
|
||||
|
||||
@@ -1,9 +1,4 @@
|
||||
//
|
||||
#define WINDOWS
|
||||
//#define LINUX
|
||||
//#define MACOS
|
||||
//#define IOS
|
||||
//#define ANDROID
|
||||
|
||||
|
||||
using StgSharp.Geometries;
|
||||
using System;
|
||||
|
||||
Reference in New Issue
Block a user