| Modifier and Type | Class and Description |
|---|---|
| public static class | GLFWNativeOSMesa.
Contains the function pointers loaded from |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public static boolean | Returns: TRUE if successful, or FALSE if an error occurred.
Possible errors include the window whose color buffer to retrieve window, IntBuffer where to store the width of the color buffer, or width, IntBuffer NULLwhere to store the height of the color buffer, or height, IntBuffer NULLwhere to store the OSMesa pixel format of the color buffer, or format, PointerBuffer NULLwhere to store the address of the color buffer, or buffer)NULLRetrieves the color buffer associated with the specified window. |
| public static boolean | glfwGetOSMesaColorBuffer(long window, int[] width, int[] height, int[] format, PointerBuffer buffer)
Array version of: |
| public static long | Returns: theOSMesaContext of the specified window, or NULL if an error occurred.
Possible errors include the window whose context to retrieve window)Returns the |
| public static int | Returns: TRUE if successful, or FALSE if an error occurred.
Possible errors include the window whose depth buffer to retrieve window, IntBuffer where to store the width of the depth buffer, or width, IntBuffer NULLwhere to store the height of the depth buffer, or height, IntBuffer NULLwhere to store the number of bytes per depth buffer element, or bytesPerValue, PointerBuffer NULLwhere to store the address of the depth buffer, or buffer)NULLRetrieves the depth buffer associated with the specified window. |
| public static int | glfwGetOSMesaDepthBuffer(long window, int[] width, int[] height, int[] bytesPerValue, PointerBuffer buffer)
Array version of: |
| public static int | nglfwGetOSMesaColorBuffer(long window, long width, long height, long format, long buffer)
Unsafe version of: |
| public static int | nglfwGetOSMesaDepthBuffer(long window, long width, long height, long bytesPerValue, long buffer)
Unsafe version of: |
| public static void | setPath(FunctionProvider
a sharedLibrary)FunctionProvider instance that will be cast to SharedLibraryCalls |
| public static void |
| GLFWNativeOSMesa | back to summary |
|---|---|
| protected GLFWNativeOSMesa() | |
| glfwGetOSMesaColorBuffer | back to summary |
|---|---|
| public static boolean glfwGetOSMesaColorBuffer(long window, IntBuffer width, IntBuffer height, IntBuffer format, PointerBuffer buffer) Retrieves the color buffer associated with the specified window. This function may be called from any thread. Access is not synchronized.
| |
| glfwGetOSMesaColorBuffer | back to summary |
|---|---|
| public static boolean glfwGetOSMesaColorBuffer(long window, int[] width, int[] height, int[] format, PointerBuffer buffer) Array version of:
| |
| glfwGetOSMesaContext | back to summary |
|---|---|
| public static long glfwGetOSMesaContext(long window) Returns the This function may be called from any thread. Access is not synchronized.
| |
| glfwGetOSMesaDepthBuffer | back to summary |
|---|---|
| public static int glfwGetOSMesaDepthBuffer(long window, IntBuffer width, IntBuffer height, IntBuffer bytesPerValue, PointerBuffer buffer) Retrieves the depth buffer associated with the specified window. This function may be called from any thread. Access is not synchronized.
| |
| glfwGetOSMesaDepthBuffer | back to summary |
|---|---|
| public static int glfwGetOSMesaDepthBuffer(long window, int[] width, int[] height, int[] bytesPerValue, PointerBuffer buffer) Array version of: | |
| nglfwGetOSMesaColorBuffer | back to summary |
|---|---|
| public static int nglfwGetOSMesaColorBuffer(long window, long width, long height, long format, long buffer) Unsafe version of: | |
| nglfwGetOSMesaDepthBuffer | back to summary |
|---|---|
| public static int nglfwGetOSMesaDepthBuffer(long window, long width, long height, long bytesPerValue, long buffer) Unsafe version of: | |
| setPath | back to summary |
|---|---|
| public static void setPath(FunctionProvider sharedLibrary) Calls Example usage:
| |
| setPath | back to summary |
|---|---|
| public static void setPath(String path) Overrides the OSMesa shared library that GLFW loads internally. This is useful when there's a mismatch between the shared libraries loaded by LWJGL and GLFW. This method must be called before GLFW initializes OpenGL. The override is available only in the default GLFW build bundled with LWJGL. Using the
override with a custom GLFW build will produce a warning in
| |
GLFW.getLibrary().
| Modifier and Type | Field and Description |
|---|---|
| public static final long | GetOSMesaColorBuffer
Function address. |
| public static final long | GetOSMesaContext
Function address. |
| public static final long | GetOSMesaDepthBuffer
Function address. |
| Access | Constructor and Description |
|---|---|
| private |
| GetOSMesaColorBuffer | back to summary |
|---|---|
| public static final long GetOSMesaColorBuffer Function address. | |
| GetOSMesaContext | back to summary |
|---|---|
| public static final long GetOSMesaContext Function address. | |
| GetOSMesaDepthBuffer | back to summary |
|---|---|
| public static final long GetOSMesaDepthBuffer Function address. | |
| Functions | back to summary |
|---|---|
| private Functions() | |