PureBasic - Screen
Overview
A screen is a surface used to display game accelerated content like sprites, or 3D worlds. A screen can be created either in a regular window, or using the whole display (fullscreen mode).
Windows: DirectX 9 is used for screen creation which your programs to use hardware acceleration if available. Two additional Subsystems are also available, depending of the needs: "OpenGL" and "DirectX11" which respectively leverage OpenGL and DirectX11 to handle screen creation.
Linux: OpenGL is used to manage the screen which allows to use hardware acceleration.
MacOS X: OpenGL is used to manage the screen which allows to use hardware acceleration.
Command Index
ChangeGamma
ClearScreen
CloseScreen
ExamineScreenModes
FlipBuffers
IsScreenActive
NextScreenMode
OpenScreen
OpenWindowedScreen
ScreenDepth
ScreenHeight
ScreenID
ScreenModeDepth
ScreenModeHeight
ScreenModeRefreshRate
ScreenModeWidth
ScreenOutput
ScreenWidth
SetFrameRate
Example
Sprite.pb
WindowedScreen.pb
Supported OS
All