_DISPLAYORDER - QB64 Wiki

_DISPLAYORDER

From QB64 Wiki

Jump to: navigation, search

The _DISPLAYORDER statement defines the order to render software, hardware and custom-OpenGL-code in QB64GL only.


Syntax:

_DISPLAYORDER [{_SOFTWARE|_HARDWARE|_HARDWARE1|_GLRENDER}][, ...][, ...][, ...][, ...]


Parameters:

  • _SOFTWARE refers to software created surfaces or SCREENs.
  • _HARDWARE and _HARDWARE1 refer to surfaces created by GL hardware acceleration.
  • _GLRENDER refers to GL code rendering order


Description:

  • The default on program start is: _DISPLAYORDER _SOFTWARE, _HARDWARE, _GLRENDER, _HARDWARE1
  • Any content or combination order is allowed, except listing the same content twice consecutively.
  • Simply using _DISPLAYORDER _HARDWARE will render hardware surfaces only.
  • Use an underscore to continue a code line on a new text row in the IDE.
  • After _DISPLAYORDER has been used, it must be used to make any changes, even to default.


Errors:

  • If a rendering content is not listed it will not be rendered except when using the startup default.
  • Rendering the same content twice consecutively in a combination is not allowed.


See also:



Navigation:
Go to Keyword Reference - Alphabetical
Go to Keyword Reference - By usage
Go to Main WIKI Page
Views
  • Page
  • Discussion
  • View source
  • History
Personal tools
  • Log in
Toolbox
  • What links here
  • Related changes
  • Special pages
  • Printable version