Class GLFWNativeCalls
Inheritance
System.Object
GLFWNativeCalls
Syntax
public static class GLFWNativeCalls
Methods
debugClear()
Declaration
public static void debugClear()
debugReadback(Int32, Int32, Void*)
Declaration
public static void debugReadback(int w, int h, void *pixels)
Parameters
Type |
Name |
Description |
System.Int32 |
w |
|
System.Int32 |
h |
|
System.Void* |
pixels |
|
getFramebufferSize(ref Int32, ref Int32)
Declaration
public static void getFramebufferSize(ref int width, ref int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
getKeyStream(ref Int32)
Declaration
public static int *getKeyStream(ref int len)
Parameters
Type |
Name |
Description |
System.Int32 |
len |
|
Returns
Type |
Description |
System.Int32* |
|
Declaration
public static int *getMouseButtonStream(ref int len)
Parameters
Type |
Name |
Description |
System.Int32 |
len |
|
Returns
Type |
Description |
System.Int32* |
|
getMousePosStream(ref Int32)
Declaration
public static int *getMousePosStream(ref int len)
Parameters
Type |
Name |
Description |
System.Int32 |
len |
|
Returns
Type |
Description |
System.Int32* |
|
getScreenSize(ref Int32, ref Int32)
Declaration
public static void getScreenSize(ref int width, ref int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
getWindow()
Declaration
public static void *getWindow()
Returns
Type |
Description |
System.Void* |
|
getWindowFrameSize(ref Int32, ref Int32, ref Int32, ref Int32)
Declaration
public static void getWindowFrameSize(ref int left, ref int top, ref int right, ref int bottom)
Parameters
Type |
Name |
Description |
System.Int32 |
left |
|
System.Int32 |
top |
|
System.Int32 |
right |
|
System.Int32 |
bottom |
|
getWindowSize(ref Int32, ref Int32)
Declaration
public static void getWindowSize(ref int width, ref int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
init(Int32, Int32)
Declaration
public static bool init(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
Returns
Type |
Description |
System.Boolean |
|
init(Void*)
Declaration
public static bool init(void *window)
Parameters
Type |
Name |
Description |
System.Void* |
window |
|
Returns
Type |
Description |
System.Boolean |
|
messagePump()
Declaration
public static bool messagePump()
Returns
Type |
Description |
System.Boolean |
|
resetStreams()
Declaration
public static void resetStreams()
resize(Int32, Int32)
Declaration
public static void resize(int width, int height)
Parameters
Type |
Name |
Description |
System.Int32 |
width |
|
System.Int32 |
height |
|
shutdown(Int32)
Declaration
public static void shutdown(int exitCode)
Parameters
Type |
Name |
Description |
System.Int32 |
exitCode |
|
swapBuffers()
Declaration
public static void swapBuffers()
time()
Declaration
public static double time()
Returns
Type |
Description |
System.Double |
|