glfwGetOSMesaDepthBuffer

Retrieves the depth buffer associated with the specified window.

version(GLFW_EXPOSE_NATIVE_OSMESA)
export extern (C) @nogc nothrow __gshared
int
glfwGetOSMesaDepthBuffer
(
GLFWwindow* window
,
int* width
,
int* height
,,
void** buffer
)

Parameters

window GLFWwindow*

The window whose depth buffer to retrieve.

width int*

Where to store the width of the depth buffer, or null.

height int*

Where to store the height of the depth buffer, or null.

bytesPerValue int*

Where to store the number of bytes per depth buffer element, or null.

buffer void**

Where to store the address of the depth buffer, or null.

Return Value

Type: int

GLFW_TRUE if successful, or GLFW_FALSE if an error occurred.

Thread Safety

This function may be called from any thread. Access is not synchronized.

Meta

Since

Added in version 3.3.

Ingroup: native