Class GLFWNativeCalls | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class GLFWNativeCalls

    Inheritance
    System.Object
    GLFWNativeCalls
    Namespace: Unity.Tiny.GLFW
    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*

    getMouseButtonStream(ref 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
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023