Class GLFWWindow.State
java.lang.Object
com.blackrook.gloop.glfw.GLFWWindow.State
- Enclosing class:
GLFWWindow
Window characteristic state that can be fetched outside of the main thread.
- Author:
- Matthew Tropiano
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
State
public State()
-
-
Method Details
-
getPositionX
public int getPositionX()- Returns:
- the position of the window, X-coordinate.
-
getPositionY
public int getPositionY()- Returns:
- the position of the window, Y-coordinate.
-
getWidth
public int getWidth()- Returns:
- the width of the window itself, in pixels.
-
getHeight
public int getHeight()- Returns:
- the height of the window itself, in pixels.
-
getFrameBufferWidth
public int getFrameBufferWidth()- Returns:
- the width of the window framebuffer, in framebuffer viewport pixels.
-
getFrameBufferHeight
public int getFrameBufferHeight()- Returns:
- the height of the window framebuffer, in framebuffer viewport pixels.
-
getContentScaleX
public float getContentScaleX()- Returns:
- the content scaling value, X-axis.
-
getContentScaleY
public float getContentScaleY()- Returns:
- the content scaling value, Y-axis.
-