HostWindowInfo

data class HostWindowInfo(val displayServer: DisplayServer, val displayName: String?, val renderBackend: RenderBackend, val framebufferWidth: Int, val framebufferHeight: Int, val windowWidth: Int, val windowHeight: Int, val contentScale: Float)(source)

Current host window, display, and renderer information.

Constructors

Link copied to clipboard
constructor(displayServer: DisplayServer, displayName: String?, renderBackend: RenderBackend, framebufferWidth: Int, framebufferHeight: Int, windowWidth: Int, windowHeight: Int, contentScale: Float)

Properties

Link copied to clipboard

GLFW content scale used as the Compose density.

Link copied to clipboard

Platform display connection name, such as WAYLAND_DISPLAY or DISPLAY, when known.

Link copied to clipboard

Display server used by GLFW for this window.

Link copied to clipboard

Physical drawable pixels backing the Compose scene and Skia render target.

Link copied to clipboard

Physical drawable pixels backing the Compose scene and Skia render target.

Link copied to clipboard

Renderer used to draw Compose content.

Link copied to clipboard

Logical content-area height after applying host display scaling.

Link copied to clipboard

Logical content-area width after applying host display scaling.