daily update on 20250220 by nitload youmu, building AST generator, correct type naming
This commit is contained in:
@@ -42,538 +42,553 @@ namespace StgSharp.Internal
|
||||
|
||||
#region api call
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwInit" )]
|
||||
internal static extern unsafe int glfwInit();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwInit" )]
|
||||
internal static unsafe partial int glfwInit();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwTerminate" )]
|
||||
internal static extern unsafe void glfwTerminate();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwTerminate" )]
|
||||
internal static unsafe partial void glfwTerminate();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwInitHint" )]
|
||||
internal static extern unsafe void glfwInitHint( int hint, int value );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwInitHint" )]
|
||||
internal static unsafe partial void glfwInitHint( int hint, int value );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetVersion" )]
|
||||
internal static extern unsafe void glfwGetVersion(
|
||||
int* major,
|
||||
int* minor,
|
||||
int* rev );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetVersion" )]
|
||||
internal static unsafe partial void glfwGetVersion(
|
||||
int* major,
|
||||
int* minor,
|
||||
int* rev );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetVersionString" )]
|
||||
internal static extern unsafe byte* glfwGetVersionString();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetVersionString" )]
|
||||
internal static unsafe partial byte* glfwGetVersionString();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetError" )]
|
||||
internal static extern unsafe int glfwGetError( byte** description );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetError" )]
|
||||
internal static unsafe partial int glfwGetError( byte** description );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetErrorCallback" )]
|
||||
internal static extern unsafe GLFWerrorfun glfwSetErrorCallback(
|
||||
GLFWerrorfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetErrorCallback" )]
|
||||
internal static unsafe partial GLFWerrorfun glfwSetErrorCallback(
|
||||
GLFWerrorfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitors" )]
|
||||
internal static extern unsafe IntPtr* glfwGetMonitors( int* count );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitors" )]
|
||||
internal static unsafe partial IntPtr* glfwGetMonitors( int* count );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetPrimaryMonitor" )]
|
||||
internal static extern unsafe IntPtr glfwGetPrimaryMonitor();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetPrimaryMonitor" )]
|
||||
internal static unsafe partial IntPtr glfwGetPrimaryMonitor();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitorPos" )]
|
||||
internal static extern unsafe void glfwGetMonitorPos(
|
||||
IntPtr monitor,
|
||||
int* xpos,
|
||||
int* ypos );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitorPos" )]
|
||||
internal static unsafe partial void glfwGetMonitorPos(
|
||||
IntPtr monitor,
|
||||
int* xpos,
|
||||
int* ypos );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitorWorkarea" )]
|
||||
internal static extern unsafe void glfwGetMonitorWorkarea(
|
||||
IntPtr monitor,
|
||||
int* xpos,
|
||||
int* ypos,
|
||||
int* width,
|
||||
int* height );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitorWorkarea" )]
|
||||
internal static unsafe partial void glfwGetMonitorWorkarea(
|
||||
IntPtr monitor,
|
||||
int* xpos,
|
||||
int* ypos,
|
||||
int* width,
|
||||
int* height );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitorPhysicalSize" )]
|
||||
internal static extern unsafe void glfwGetMonitorPhysicalSize(
|
||||
IntPtr monitor,
|
||||
int* widthMM,
|
||||
int* heightMM );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitorPhysicalSize" )]
|
||||
internal static unsafe partial void glfwGetMonitorPhysicalSize(
|
||||
IntPtr monitor,
|
||||
int* widthMM,
|
||||
int* heightMM );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitorContentScale" )]
|
||||
internal static extern unsafe void glfwGetMonitorContentScale(
|
||||
IntPtr monitor,
|
||||
float* xscale,
|
||||
float* yscale );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitorContentScale" )]
|
||||
internal static unsafe partial void glfwGetMonitorContentScale(
|
||||
IntPtr monitor,
|
||||
float* xscale,
|
||||
float* yscale );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitorName" )]
|
||||
internal static extern unsafe byte* glfwGetMonitorName( IntPtr monitor );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitorName" )]
|
||||
internal static unsafe partial byte* glfwGetMonitorName(
|
||||
IntPtr monitor );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetMonitorUserPointer" )]
|
||||
internal static extern unsafe void glfwSetMonitorUserPointer(
|
||||
IntPtr monitor,
|
||||
void* pointer );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetMonitorUserPointer" )]
|
||||
internal static unsafe partial void glfwSetMonitorUserPointer(
|
||||
IntPtr monitor,
|
||||
void* pointer );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMonitorUserPointer" )]
|
||||
internal static extern unsafe void* glfwGetMonitorUserPointer(
|
||||
IntPtr monitor );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMonitorUserPointer" )]
|
||||
internal static unsafe partial void* glfwGetMonitorUserPointer(
|
||||
IntPtr monitor );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetMonitorCallback" )]
|
||||
internal static extern unsafe GLFWmonitorfun glfwSetMonitorCallback(
|
||||
GLFWmonitorfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetMonitorCallback" )]
|
||||
internal static unsafe partial GLFWmonitorfun glfwSetMonitorCallback(
|
||||
GLFWmonitorfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetVideoModes" )]
|
||||
internal static extern unsafe glfwVideomode* glfwGetVideoModes(
|
||||
IntPtr monitor,
|
||||
int* count );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetVideoModes" )]
|
||||
internal static unsafe partial glfwVideomode* glfwGetVideoModes(
|
||||
IntPtr monitor,
|
||||
int* count );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetVideoMode" )]
|
||||
internal static extern unsafe glfwVideomode* glfwGetVideoMode(
|
||||
IntPtr monitor );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetVideoMode" )]
|
||||
internal static unsafe partial glfwVideomode* glfwGetVideoMode(
|
||||
IntPtr monitor );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetGamma" )]
|
||||
internal static extern unsafe void glfwSetGamma(
|
||||
IntPtr monitor,
|
||||
float gamma );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetGamma" )]
|
||||
internal static unsafe partial void glfwSetGamma(
|
||||
IntPtr monitor,
|
||||
float gamma );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetGammaRamp" )]
|
||||
internal static extern unsafe glfwGammaramp* glfwGetGammaRamp(
|
||||
IntPtr monitor );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetGammaRamp" )]
|
||||
internal static unsafe partial glfwGammaramp* glfwGetGammaRamp(
|
||||
IntPtr monitor );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetGammaRamp" )]
|
||||
internal static extern unsafe void glfwSetGammaRamp(
|
||||
IntPtr monitor,
|
||||
glfwGammaramp* ramp );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetGammaRamp" )]
|
||||
internal static unsafe partial void glfwSetGammaRamp(
|
||||
IntPtr monitor,
|
||||
glfwGammaramp* ramp );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwDefaultWindowHints" )]
|
||||
internal static extern unsafe void glfwDefaultWindowHints();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwDefaultWindowHints" )]
|
||||
internal static unsafe partial void glfwDefaultWindowHints();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwWindowHint" )]
|
||||
internal static extern unsafe void glfwWindowHint( int hint, int value );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwWindowHint" )]
|
||||
internal static unsafe partial void glfwWindowHint(
|
||||
int hint,
|
||||
int value );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwWindowHintString" )]
|
||||
internal static extern unsafe void glfwWindowHintString(
|
||||
int hint,
|
||||
byte* value );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwWindowHintString" )]
|
||||
internal static unsafe partial void glfwWindowHintString(
|
||||
int hint,
|
||||
byte* value );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwCreateWindow" )]
|
||||
internal static extern unsafe IntPtr glfwCreateWindow(
|
||||
int width,
|
||||
int height,
|
||||
byte[] title,
|
||||
IntPtr monitor,
|
||||
IntPtr share );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwCreateWindow" )]
|
||||
internal static unsafe partial IntPtr glfwCreateWindow(
|
||||
int width,
|
||||
int height,
|
||||
byte[] title,
|
||||
IntPtr monitor,
|
||||
IntPtr share );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwDestroyWindow" )]
|
||||
internal static extern unsafe void glfwDestroyWindow( IntPtr window );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwDestroyWindow" )]
|
||||
internal static unsafe partial void glfwDestroyWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwWindowShouldClose" )]
|
||||
internal static extern unsafe int glfwWindowShouldClose( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowShouldClose" )]
|
||||
internal static extern unsafe void glfwSetWindowShouldClose(
|
||||
IntPtr window,
|
||||
int value );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowTitle" )]
|
||||
internal static extern unsafe void glfwSetWindowTitle(
|
||||
IntPtr window,
|
||||
byte* title );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowIcon" )]
|
||||
internal static extern unsafe void glfwSetWindowIcon(
|
||||
IntPtr window,
|
||||
int count,
|
||||
GLFWimage* images );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowPos" )]
|
||||
internal static extern unsafe void glfwGetWindowPos(
|
||||
IntPtr window,
|
||||
int* xpos,
|
||||
int* ypos );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowPos" )]
|
||||
internal static extern unsafe void glfwSetWindowPos(
|
||||
IntPtr window,
|
||||
int xpos,
|
||||
int ypos );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowSize" )]
|
||||
internal static extern unsafe void glfwGetWindowSize(
|
||||
IntPtr window,
|
||||
int* width,
|
||||
int* height );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowSizeLimits" )]
|
||||
internal static extern unsafe void glfwSetWindowSizeLimits(
|
||||
IntPtr window,
|
||||
int minwidth,
|
||||
int minheight,
|
||||
int maxwidth,
|
||||
int maxheight );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowAspectRatio" )]
|
||||
internal static extern unsafe void glfwSetWindowAspectRatio(
|
||||
IntPtr window,
|
||||
int numer,
|
||||
int denom );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowSize" )]
|
||||
internal static extern unsafe void glfwSetWindowSize(
|
||||
IntPtr window,
|
||||
int width,
|
||||
int height );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetFramebufferSize" )]
|
||||
internal static extern unsafe void glfwGetFramebufferSize(
|
||||
IntPtr window,
|
||||
int* width,
|
||||
int* height );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowFrameSize" )]
|
||||
internal static extern unsafe void glfwGetWindowFrameSize(
|
||||
IntPtr window,
|
||||
int* left,
|
||||
int* top,
|
||||
int* right,
|
||||
int* bottom );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowContentScale" )]
|
||||
internal static extern unsafe void glfwGetWindowContentScale(
|
||||
IntPtr window,
|
||||
float* xscale,
|
||||
float* yscale );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowOpacity" )]
|
||||
internal static extern unsafe float glfwGetWindowOpacity(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowOpacity" )]
|
||||
internal static extern unsafe void glfwSetWindowOpacity(
|
||||
IntPtr window,
|
||||
float opacity );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwIconifyWindow" )]
|
||||
internal static extern unsafe void glfwIconifyWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwRestoreWindow" )]
|
||||
internal static extern unsafe void glfwRestoreWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwMaximizeWindow" )]
|
||||
internal static extern unsafe void glfwMaximizeWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwShowWindow" )]
|
||||
internal static extern unsafe void glfwShowWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwHideWindow" )]
|
||||
internal static extern unsafe void glfwHideWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwFocusWindow" )]
|
||||
internal static extern unsafe void glfwFocusWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwRequestWindowAttention" )]
|
||||
internal static extern unsafe void glfwRequestWindowAttention(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwWindowShouldClose" )]
|
||||
internal static unsafe partial int glfwWindowShouldClose(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowMonitor" )]
|
||||
internal static extern unsafe IntPtr glfwGetWindowMonitor(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowShouldClose" )]
|
||||
internal static unsafe partial void glfwSetWindowShouldClose(
|
||||
IntPtr window,
|
||||
int value );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowTitle" )]
|
||||
internal static unsafe partial void glfwSetWindowTitle(
|
||||
IntPtr window,
|
||||
byte* title );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowIcon" )]
|
||||
internal static unsafe partial void glfwSetWindowIcon(
|
||||
IntPtr window,
|
||||
int count,
|
||||
GLFWimage* images );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowPos" )]
|
||||
internal static unsafe partial void glfwGetWindowPos(
|
||||
IntPtr window,
|
||||
int* xpos,
|
||||
int* ypos );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowPos" )]
|
||||
internal static unsafe partial void glfwSetWindowPos(
|
||||
IntPtr window,
|
||||
int xpos,
|
||||
int ypos );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowSize" )]
|
||||
internal static unsafe partial void glfwGetWindowSize(
|
||||
IntPtr window,
|
||||
int* width,
|
||||
int* height );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowSizeLimits" )]
|
||||
internal static unsafe partial void glfwSetWindowSizeLimits(
|
||||
IntPtr window,
|
||||
int minwidth,
|
||||
int minheight,
|
||||
int maxwidth,
|
||||
int maxheight );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowAspectRatio" )]
|
||||
internal static unsafe partial void glfwSetWindowAspectRatio(
|
||||
IntPtr window,
|
||||
int numer,
|
||||
int denom );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowSize" )]
|
||||
internal static unsafe partial void glfwSetWindowSize(
|
||||
IntPtr window,
|
||||
int width,
|
||||
int height );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetFramebufferSize" )]
|
||||
internal static unsafe partial void glfwGetFramebufferSize(
|
||||
IntPtr window,
|
||||
int* width,
|
||||
int* height );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowFrameSize" )]
|
||||
internal static unsafe partial void glfwGetWindowFrameSize(
|
||||
IntPtr window,
|
||||
int* left,
|
||||
int* top,
|
||||
int* right,
|
||||
int* bottom );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowContentScale" )]
|
||||
internal static unsafe partial void glfwGetWindowContentScale(
|
||||
IntPtr window,
|
||||
float* xscale,
|
||||
float* yscale );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowOpacity" )]
|
||||
internal static unsafe partial float glfwGetWindowOpacity(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowMonitor" )]
|
||||
internal static extern unsafe void glfwSetWindowMonitor(
|
||||
IntPtr window,
|
||||
IntPtr monitor,
|
||||
int xpos,
|
||||
int ypos,
|
||||
int width,
|
||||
int height,
|
||||
int refreshRate );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowOpacity" )]
|
||||
internal static unsafe partial void glfwSetWindowOpacity(
|
||||
IntPtr window,
|
||||
float opacity );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowAttrib" )]
|
||||
internal static extern unsafe int glfwGetWindowAttrib(
|
||||
IntPtr window,
|
||||
int attrib );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwIconifyWindow" )]
|
||||
internal static unsafe partial void glfwIconifyWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowAttrib" )]
|
||||
internal static extern unsafe void glfwSetWindowAttrib(
|
||||
IntPtr window,
|
||||
int attrib,
|
||||
int value );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwRestoreWindow" )]
|
||||
internal static unsafe partial void glfwRestoreWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowUserPointer" )]
|
||||
internal static extern unsafe void glfwSetWindowUserPointer(
|
||||
IntPtr window,
|
||||
void* pointer );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwMaximizeWindow" )]
|
||||
internal static unsafe partial void glfwMaximizeWindow( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetWindowUserPointer" )]
|
||||
internal static extern unsafe void* glfwGetWindowUserPointer(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwShowWindow" )]
|
||||
internal static unsafe partial void glfwShowWindow( IntPtr window );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwHideWindow" )]
|
||||
internal static unsafe partial void glfwHideWindow( IntPtr window );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwFocusWindow" )]
|
||||
internal static unsafe partial void glfwFocusWindow( IntPtr window );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwRequestWindowAttention" )]
|
||||
internal static unsafe partial void glfwRequestWindowAttention(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowPosCallback" )]
|
||||
internal static extern unsafe GLFWwindowposfun glfwSetWindowPosCallback(
|
||||
IntPtr window,
|
||||
IntPtr callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowMonitor" )]
|
||||
internal static unsafe partial IntPtr glfwGetWindowMonitor(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowSizeCallback" )]
|
||||
internal static extern unsafe GLFWwindowsizefun glfwSetWindowSizeCallback(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowMonitor" )]
|
||||
internal static unsafe partial void glfwSetWindowMonitor(
|
||||
IntPtr window,
|
||||
IntPtr monitor,
|
||||
int xpos,
|
||||
int ypos,
|
||||
int width,
|
||||
int height,
|
||||
int refreshRate );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowAttrib" )]
|
||||
internal static unsafe partial int glfwGetWindowAttrib(
|
||||
IntPtr window,
|
||||
int attrib );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowAttrib" )]
|
||||
internal static unsafe partial void glfwSetWindowAttrib(
|
||||
IntPtr window,
|
||||
int attrib,
|
||||
int value );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowUserPointer" )]
|
||||
internal static unsafe partial void glfwSetWindowUserPointer(
|
||||
IntPtr window,
|
||||
void* pointer );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetWindowUserPointer" )]
|
||||
internal static unsafe partial void* glfwGetWindowUserPointer(
|
||||
IntPtr window );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowPosCallback" )]
|
||||
internal static unsafe partial GLFWwindowposfun glfwSetWindowPosCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowsizefun callback );
|
||||
IntPtr callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowCloseCallback" )]
|
||||
internal static extern unsafe GLFWwindowclosefun glfwSetWindowCloseCallback(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowSizeCallback" )]
|
||||
internal static unsafe partial GLFWwindowsizefun glfwSetWindowSizeCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowclosefun callback );
|
||||
GLFWwindowsizefun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowRefreshCallback" )]
|
||||
internal static extern unsafe GLFWwindowrefreshfun glfwSetWindowRefreshCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowrefreshfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowCloseCallback" )]
|
||||
internal static unsafe partial GLFWwindowclosefun glfwSetWindowCloseCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowclosefun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowFocusCallback" )]
|
||||
internal static extern unsafe GLFWwindowfocusfun glfwSetWindowFocusCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowfocusfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowIconifyCallback" )]
|
||||
internal static extern unsafe GLFWwindowiconifyfun glfwSetWindowIconifyCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowiconifyfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetWindowMaximizeCallback" )]
|
||||
internal static extern unsafe GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwSetWindowRefreshCallback" )]
|
||||
internal static unsafe partial GLFWwindowrefreshfun glfwSetWindowRefreshCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowmaximizefun callback );
|
||||
GLFWwindowrefreshfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetFramebufferSizeCallback" )]
|
||||
internal static extern unsafe FrameBufferSizeHandler glfwSetFramebufferSizeCallback(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetWindowFocusCallback" )]
|
||||
internal static unsafe partial GLFWwindowfocusfun glfwSetWindowFocusCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowfocusfun callback );
|
||||
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwSetWindowIconifyCallback" )]
|
||||
internal static unsafe partial GLFWwindowiconifyfun glfwSetWindowIconifyCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowiconifyfun callback );
|
||||
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwSetWindowMaximizeCallback" )]
|
||||
internal static unsafe partial GLFWwindowmaximizefun glfwSetWindowMaximizeCallback(
|
||||
IntPtr window,
|
||||
IntPtr callback );
|
||||
GLFWwindowmaximizefun callback );
|
||||
|
||||
[DllImport(
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwSetFramebufferSizeCallback" )]
|
||||
internal static unsafe partial FrameBufferSizeHandler glfwSetFramebufferSizeCallback(
|
||||
IntPtr window,
|
||||
IntPtr callback );
|
||||
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwSetWindowContentScaleCallback" )]
|
||||
internal static extern unsafe GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowcontentscalefun callback );
|
||||
internal static unsafe partial GLFWwindowcontentscalefun glfwSetWindowContentScaleCallback(
|
||||
IntPtr window,
|
||||
GLFWwindowcontentscalefun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwPollEvents" )]
|
||||
internal static extern unsafe void glfwPollEvents();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwPollEvents" )]
|
||||
internal static unsafe partial void glfwPollEvents();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwWaitEvents" )]
|
||||
internal static extern unsafe void glfwWaitEvents();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwWaitEvents" )]
|
||||
internal static unsafe partial void glfwWaitEvents();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwWaitEventsTimeout" )]
|
||||
internal static extern unsafe void glfwWaitEventsTimeout(
|
||||
double timeout );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwWaitEventsTimeout" )]
|
||||
internal static unsafe partial void glfwWaitEventsTimeout(
|
||||
double timeout );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwPostEmptyEvent" )]
|
||||
internal static extern unsafe void glfwPostEmptyEvent();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwPostEmptyEvent" )]
|
||||
internal static unsafe partial void glfwPostEmptyEvent();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetInputMode" )]
|
||||
internal static extern unsafe int glfwGetInputMode(
|
||||
IntPtr window,
|
||||
int mode );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetInputMode" )]
|
||||
internal static extern unsafe void glfwSetInputMode(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetInputMode" )]
|
||||
internal static unsafe partial int glfwGetInputMode(
|
||||
IntPtr window,
|
||||
int mode,
|
||||
int value );
|
||||
int mode );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwRawMouseMotionSupported" )]
|
||||
internal static extern unsafe int glfwRawMouseMotionSupported();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetInputMode" )]
|
||||
internal static unsafe partial void glfwSetInputMode(
|
||||
IntPtr window,
|
||||
int mode,
|
||||
int value );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetKeyName" )]
|
||||
internal static extern unsafe byte* glfwGetKeyName(
|
||||
int key,
|
||||
int scancode );
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwRawMouseMotionSupported" )]
|
||||
internal static unsafe partial int glfwRawMouseMotionSupported();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetKeyScancode" )]
|
||||
internal static extern unsafe int glfwGetKeyScancode( int key );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetKeyName" )]
|
||||
internal static unsafe partial byte* glfwGetKeyName(
|
||||
int key,
|
||||
int scancode );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetKey" )]
|
||||
internal static extern unsafe KeyStatus glfwGetKey(
|
||||
IntPtr window,
|
||||
int key );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetKeyScancode" )]
|
||||
internal static unsafe partial int glfwGetKeyScancode( int key );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetMouseButton" )]
|
||||
internal static extern unsafe int glfwGetMouseButton(
|
||||
IntPtr window,
|
||||
int button );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetCursorPos" )]
|
||||
internal static extern unsafe void glfwGetCursorPos(
|
||||
IntPtr window,
|
||||
double* xpos,
|
||||
double* ypos );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetCursorPos" )]
|
||||
internal static extern unsafe void glfwSetCursorPos(
|
||||
IntPtr window,
|
||||
double xpos,
|
||||
double ypos );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwCreateCursor" )]
|
||||
internal static extern unsafe GLFWcursor* glfwCreateCursor(
|
||||
GLFWimage* image,
|
||||
int xhot,
|
||||
int yhot );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwCreateStandardCursor" )]
|
||||
internal static extern unsafe GLFWcursor* glfwCreateStandardCursor(
|
||||
int shape );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwDestroyCursor" )]
|
||||
internal static extern unsafe void glfwDestroyCursor(
|
||||
GLFWcursor* cursor );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetCursor" )]
|
||||
internal static extern unsafe void glfwSetCursor(
|
||||
IntPtr window,
|
||||
GLFWcursor* cursor );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetKeyCallback" )]
|
||||
internal static extern unsafe GLFWkeyfun glfwSetKeyCallback(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetKey" )]
|
||||
internal static unsafe partial KeyStatus glfwGetKey(
|
||||
IntPtr window,
|
||||
GLFWkeyfun callback );
|
||||
int key );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetCharCallback" )]
|
||||
internal static extern unsafe GLFWcharfun glfwSetCharCallback(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetMouseButton" )]
|
||||
internal static unsafe partial int glfwGetMouseButton(
|
||||
IntPtr window,
|
||||
int button );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetCursorPos" )]
|
||||
internal static unsafe partial void glfwGetCursorPos(
|
||||
IntPtr window,
|
||||
double* xpos,
|
||||
double* ypos );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetCursorPos" )]
|
||||
internal static unsafe partial void glfwSetCursorPos(
|
||||
IntPtr window,
|
||||
double xpos,
|
||||
double ypos );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwCreateCursor" )]
|
||||
internal static unsafe partial GLFWcursor* glfwCreateCursor(
|
||||
GLFWimage* image,
|
||||
int xhot,
|
||||
int yhot );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwCreateStandardCursor" )]
|
||||
internal static unsafe partial GLFWcursor* glfwCreateStandardCursor(
|
||||
int shape );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwDestroyCursor" )]
|
||||
internal static unsafe partial void glfwDestroyCursor(
|
||||
GLFWcursor* cursor );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetCursor" )]
|
||||
internal static unsafe partial void glfwSetCursor(
|
||||
IntPtr window,
|
||||
GLFWcursor* cursor );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetKeyCallback" )]
|
||||
internal static unsafe partial GLFWkeyfun glfwSetKeyCallback(
|
||||
IntPtr window,
|
||||
GLFWcharfun callback );
|
||||
GLFWkeyfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetCharModsCallback" )]
|
||||
internal static extern unsafe GLFWcharmodsfun glfwSetCharModsCallback(
|
||||
IntPtr window,
|
||||
GLFWcharmodsfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetCharCallback" )]
|
||||
internal static unsafe partial GLFWcharfun glfwSetCharCallback(
|
||||
IntPtr window,
|
||||
GLFWcharfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetMouseButtonCallback" )]
|
||||
internal static extern unsafe GLFWmousebuttonfun glfwSetMouseButtonCallback(
|
||||
IntPtr window,
|
||||
GLFWmousebuttonfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetCursorPosCallback" )]
|
||||
internal static extern unsafe GLFWcursorposfun glfwSetCursorPosCallback(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetCharModsCallback" )]
|
||||
internal static unsafe partial GLFWcharmodsfun glfwSetCharModsCallback(
|
||||
IntPtr window,
|
||||
GLFWcursorposfun callback );
|
||||
GLFWcharmodsfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetCursorEnterCallback" )]
|
||||
internal static extern unsafe GLFWcursorenterfun glfwSetCursorEnterCallback(
|
||||
IntPtr window,
|
||||
GLFWcursorenterfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetMouseButtonCallback" )]
|
||||
internal static unsafe partial GLFWmousebuttonfun glfwSetMouseButtonCallback(
|
||||
IntPtr window,
|
||||
GLFWmousebuttonfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetScrollCallback" )]
|
||||
internal static extern unsafe GLFWscrollfun glfwSetScrollCallback(
|
||||
IntPtr window,
|
||||
GLFWscrollfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetCursorPosCallback" )]
|
||||
internal static unsafe partial GLFWcursorposfun glfwSetCursorPosCallback(
|
||||
IntPtr window,
|
||||
GLFWcursorposfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetDropCallback" )]
|
||||
internal static extern unsafe GLFWdropfun glfwSetDropCallback(
|
||||
IntPtr window,
|
||||
GLFWdropfun callback );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetCursorEnterCallback" )]
|
||||
internal static unsafe partial GLFWcursorenterfun glfwSetCursorEnterCallback(
|
||||
IntPtr window,
|
||||
GLFWcursorenterfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwJoystickPresent" )]
|
||||
internal static extern unsafe int glfwJoystickPresent( int jid );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetScrollCallback" )]
|
||||
internal static unsafe partial GLFWscrollfun glfwSetScrollCallback(
|
||||
IntPtr window,
|
||||
GLFWscrollfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetJoystickAxes" )]
|
||||
internal static extern unsafe float* glfwGetJoystickAxes(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetDropCallback" )]
|
||||
internal static unsafe partial GLFWdropfun glfwSetDropCallback(
|
||||
IntPtr window,
|
||||
GLFWdropfun callback );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwJoystickPresent" )]
|
||||
internal static unsafe partial int glfwJoystickPresent( int jid );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetJoystickAxes" )]
|
||||
internal static unsafe partial float* glfwGetJoystickAxes(
|
||||
int jid,
|
||||
int* count );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetJoystickButtons" )]
|
||||
internal static unsafe partial byte* glfwGetJoystickButtons(
|
||||
int jid,
|
||||
int* count );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetJoystickButtons" )]
|
||||
internal static extern unsafe byte* glfwGetJoystickButtons(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetJoystickHats" )]
|
||||
internal static unsafe partial byte* glfwGetJoystickHats(
|
||||
int jid,
|
||||
int* count );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetJoystickName" )]
|
||||
internal static unsafe partial byte* glfwGetJoystickName( int jid );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetJoystickGUID" )]
|
||||
internal static unsafe partial byte* glfwGetJoystickGUID( int jid );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetJoystickUserPointer" )]
|
||||
internal static unsafe partial void glfwSetJoystickUserPointer(
|
||||
int jid,
|
||||
int* count );
|
||||
void* pointer );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetJoystickHats" )]
|
||||
internal static extern unsafe byte* glfwGetJoystickHats(
|
||||
int jid,
|
||||
int* count );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetJoystickUserPointer" )]
|
||||
internal static unsafe partial void* glfwGetJoystickUserPointer(
|
||||
int jid );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetJoystickName" )]
|
||||
internal static extern unsafe byte* glfwGetJoystickName( int jid );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwJoystickIsGamepad" )]
|
||||
internal static unsafe partial int glfwJoystickIsGamepad( int jid );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetJoystickGUID" )]
|
||||
internal static extern unsafe byte* glfwGetJoystickGUID( int jid );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetJoystickCallback" )]
|
||||
internal static unsafe partial GLFWjoystickfun glfwSetJoystickCallback(
|
||||
GLFWjoystickfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetJoystickUserPointer" )]
|
||||
internal static extern unsafe void glfwSetJoystickUserPointer(
|
||||
int jid,
|
||||
void* pointer );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetJoystickUserPointer" )]
|
||||
internal static extern unsafe void* glfwGetJoystickUserPointer(
|
||||
int jid );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwJoystickIsGamepad" )]
|
||||
internal static extern unsafe int glfwJoystickIsGamepad( int jid );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetJoystickCallback" )]
|
||||
internal static extern unsafe GLFWjoystickfun glfwSetJoystickCallback(
|
||||
GLFWjoystickfun callback );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwUpdateGamepadMappings" )]
|
||||
internal static extern unsafe int glfwUpdateGamepadMappings( byte* str );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetGamepadName" )]
|
||||
internal static extern unsafe byte* glfwGetGamepadName( int jid );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetGamepadState" )]
|
||||
internal static extern unsafe int glfwGetGamepadState(
|
||||
int jid,
|
||||
GLFWgamepadstate* state );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetClipboardString" )]
|
||||
internal static extern unsafe void glfwSetClipboardString(
|
||||
IntPtr window,
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwUpdateGamepadMappings" )]
|
||||
internal static unsafe partial int glfwUpdateGamepadMappings(
|
||||
byte* str );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetClipboardString" )]
|
||||
internal static extern unsafe byte* glfwGetClipboardString(
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetGamepadName" )]
|
||||
internal static unsafe partial byte* glfwGetGamepadName( int jid );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetGamepadState" )]
|
||||
internal static unsafe partial int glfwGetGamepadState(
|
||||
int jid,
|
||||
GLFWgamepadstate* state );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetClipboardString" )]
|
||||
internal static unsafe partial void glfwSetClipboardString(
|
||||
IntPtr window,
|
||||
byte* str );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetClipboardString" )]
|
||||
internal static unsafe partial byte* glfwGetClipboardString(
|
||||
IntPtr window );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetTime" )]
|
||||
internal static unsafe partial double glfwGetTime();
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSetTime" )]
|
||||
internal static unsafe partial void glfwSetTime( double time );
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetTimerValue" )]
|
||||
internal static unsafe partial ulong* glfwGetTimerValue();
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetTimerFrequency" )]
|
||||
internal static unsafe partial ulong* glfwGetTimerFrequency();
|
||||
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwMakeContextCurrent" )]
|
||||
internal static unsafe partial void glfwMakeContextCurrent(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetTime" )]
|
||||
internal static extern unsafe double glfwGetTime();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwGetCurrentContext" )]
|
||||
internal static unsafe partial IntPtr glfwGetCurrentContext();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSetTime" )]
|
||||
internal static extern unsafe void glfwSetTime( double time );
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSwapBuffers" )]
|
||||
internal static unsafe partial void glfwSwapBuffers( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetTimerValue" )]
|
||||
internal static extern unsafe ulong* glfwGetTimerValue();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwSwapInterval" )]
|
||||
internal static unsafe partial void glfwSwapInterval( int interval );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetTimerFrequency" )]
|
||||
internal static extern unsafe ulong* glfwGetTimerFrequency();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwExtensionSupported" )]
|
||||
internal static unsafe partial int glfwExtensionSupported(
|
||||
byte* extension );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwMakeContextCurrent" )]
|
||||
internal static extern unsafe void glfwMakeContextCurrent(
|
||||
IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwGetCurrentContext" )]
|
||||
internal static extern unsafe IntPtr glfwGetCurrentContext();
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSwapBuffers" )]
|
||||
internal static extern unsafe void glfwSwapBuffers( IntPtr window );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwSwapInterval" )]
|
||||
internal static extern unsafe void glfwSwapInterval( int interval );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwExtensionSupported" )]
|
||||
internal static extern unsafe int glfwExtensionSupported(
|
||||
byte* extension );
|
||||
|
||||
[DllImport(
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwGetProcAddress",
|
||||
CharSet = CharSet.Ansi )]
|
||||
internal static extern unsafe IntPtr glfwGetProcAddress(
|
||||
string procname );
|
||||
StringMarshalling = StringMarshalling.Utf8 )]
|
||||
internal static unsafe partial IntPtr glfwGetProcAddress(
|
||||
string procname );
|
||||
|
||||
[DllImport( SSC_libName, EntryPoint = "glfwVulkanSupported" )]
|
||||
internal static extern unsafe int glfwVulkanSupported();
|
||||
[LibraryImport( SSC_libName, EntryPoint = "glfwVulkanSupported" )]
|
||||
internal static unsafe partial int glfwVulkanSupported();
|
||||
|
||||
[DllImport(
|
||||
[LibraryImport(
|
||||
SSC_libName,
|
||||
EntryPoint = "glfwGetRequiredInstanceExtensions" )]
|
||||
internal static extern unsafe byte** glfwGetRequiredInstanceExtensions(
|
||||
uint* count );
|
||||
internal static unsafe partial byte** glfwGetRequiredInstanceExtensions(
|
||||
uint* count );
|
||||
|
||||
//[DllImport(InternalIO.SSC_libname, EntryPoint = "glfwGetInstanceProcAddress")] internal extern unsafe static GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, byte* procname);
|
||||
//[DllImport(InternalIO.SSC_libname, EntryPoint = "glfwGetPhysicalDevicePresentationSupport")] internal extern unsafe static int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint* queuefamily);
|
||||
//[DllImport(InternalIO.SSC_libname, EntryPoint = "glfwCreateWindowSurface")] internal extern unsafe static VkResult glfwCreateWindowSurface(VkInstance instance, glfwWindow* window, VkAllocationCallbacks* allocator, VkSurfaceKHR* surface);
|
||||
//[LibraryImport(InternalIO.SSC_libname, EntryPoint = "glfwGetInstanceProcAddress")] internal unsafe partial static GLFWvkproc glfwGetInstanceProcAddress(VkInstance instance, byte* procname);
|
||||
//[LibraryImport(InternalIO.SSC_libname, EntryPoint = "glfwGetPhysicalDevicePresentationSupport")] internal unsafe partial static int glfwGetPhysicalDevicePresentationSupport(VkInstance instance, VkPhysicalDevice device, uint* queuefamily);
|
||||
//[LibraryImport(InternalIO.SSC_libname, EntryPoint = "glfwCreateWindowSurface")] internal unsafe partial static VkResult glfwCreateWindowSurface(VkInstance instance, glfwWindow* window, VkAllocationCallbacks* allocator, VkSurfaceKHR* surface);
|
||||
|
||||
#endregion api call
|
||||
#endregion api call
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user