Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is the difference between a texture and a window and a screen?

screen Texture window
0
Posted

What is the difference between a texture and a window and a screen?

0

A screen corresponds to a physically connected display device. Screen 0 is the display with the Dock and menu bar. Screen 1 (on a dual-display system) is the 2nd display, and so on… The Screen(‘Screens’) command returns a vector of all available screens – the available, connected and powered on display devices. If you have a dual-display setup whose displays are switched into mirror-mode (both displays show same content), then this will appear to PTB as a single screen. The screen-number just defines on which physical output device you want to open/show your stimulus window. An onscreen-window is used to display your stimulus. Each screen can have exactly one full-screen onscreen window – or no PTB window at all. All drawing commands expect a handle to an onscreen window so they know where to draw to. Onscreen windows are double-buffered: They consist of a backbuffer and a frontbuffer. The backbuffer is where all drawing operations are performed — where you build/prepare your stimul

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123