Window

Shows a texture in a window of its own, on any display, windowed or fullscreen.

Inputs

NameTypeDescription
InputTextureThe texture to show. With nothing connected the window is black.

Parameters

NameTypeDescription
OpenBoolWhether the window is on screen.
FullscreenBoolWhether the window fills the display it is on.
TitleStringThe text in the title bar.
ScalingEnumHow the texture is fitted to the window when their sizes differ. None shows each pixel of the texture as one pixel of the display, Fit shows all of the texture and Fill covers the window.Choices: None, Fit, Fill, Stretch
FilteradvancedEnumHow the texture is read between its pixels when it is shown larger. Nearest keeps hard pixels, and both Linear choices blend them alike.Choices: Nearest, Linear Fast, Linear Nice
PositionadvancedVector 2 IntWhere the top left corner of the window is on the screen while it is not fullscreen.
SizeadvancedVector 2 IntThe width and height of the window while it is not fullscreen, in the chosen unit.
Size UnitadvancedEnumThe unit of the size. Physical pixels are the pixels of the display, and Logical pixels are scaled with the display, so a window looks the same size on a 100% and a 200% display.Choices: Physical pixels, Logical pixels
DecoratedadvancedBoolWhether the window has a title bar and a border.
TransparentadvancedBoolWhether the desktop shows through where the texture is not opaque, on macOS only for now.
Always On TopadvancedBoolWhether the window stays above all other normal windows.
InteractiveadvancedBoolWhether the window takes mouse and keyboard input. When off, clicks go through to whatever is behind it.

The Window operator shows a texture in a window of its own, separate from the editor. Fullscreen on a second display or a projector, it is the output of the show. For an LED wall or a pixel mapped output, set Scaling to None and render at the resolution Window Info reports, so the texture fills the window exactly.

The parameters are requests, not a fixed state. The window follows a parameter when it changes, and in between it can be dragged, resized or closed by hand and stays that way. A window closed with its close button stays closed until Open is turned off and on again. Fullscreen fills the display the window is on, so move the window to a display before you make it fullscreen there. While the window is interactive, F switches fullscreen on and off and Escape leaves it.

Turn off Decorated and Interactive together for a borderless overlay that ignores the mouse.

See also Window Info, Resize.

Keywords: output, screen, display, monitor, projector, fullscreen, present, show