glfwSetWindowAttrib¶
Sets an attribute of the specified window.
This function sets the value of an attribute of the specified window.
The supported attributes are GLFW_DECORATED
,
GLFW_RESIZABLE
,
GLFW_FLOATING
,
GLFW_AUTO_ICONIFY
and
GLFW_FOCUS_ON_SHOW
.
Some of these attributes are ignored for full screen windows. The new value will take effect if the window is later made windowed.
Some of these attributes are ignored for windowed mode windows. The new value will take effect if the window is later made full screen.
- arguments
-
\GLFWwindow
$window
The window to set the attribute for.int
$attrib
A supported window attribute.int
$value
GLFW_TRUE
orGLFW_FALSE
.
- returns
-
void