DISPLAYORDER: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:




{{Parameters}}
{{PageParameters}}
* _SOFTWARE refers to software created surfaces or [[SCREEN]]s.
* _SOFTWARE refers to software created surfaces or [[SCREEN]]s.
* _HARDWARE and _HARDWARE1 refer to surfaces created by OpenGL hardware acceleration.
* _HARDWARE and _HARDWARE1 refer to surfaces created by OpenGL hardware acceleration.
Line 20: Line 20:
* After _DISPLAYORDER has been used, it must be used to make any changes, even to default.
* After _DISPLAYORDER has been used, it must be used to make any changes, even to default.


 
=== Errors ===
{{PageErrors}}
* If a rendering content is not listed it will not be rendered except when using the startup default.
* 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.
* Rendering the same content twice consecutively in a combination is not allowed.




==Availability==
{{PageAvailability}}
* '''Version 1.000 and up.'''
<!-- QB64 = a version or none, QBPE = a version or all, Platforms = yes or no -->
<gallery widths="48px" heights="48px" mode="nolines">
File:Qb64.png|'''v1.0'''
File:Qbpe.png|'''all'''
File:Apix.png
File:Win.png|'''yes'''
File:Lnx.png|'''yes'''
File:Osx.png|'''yes'''
</gallery>
<!-- additional availability notes go below here -->





Latest revision as of 18:48, 24 September 2024

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


Syntax

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


Parameters

  • _SOFTWARE refers to software created surfaces or SCREENs.
  • _HARDWARE and _HARDWARE1 refer to surfaces created by OpenGL hardware acceleration.
  • _GLRENDER refers to OpenGL 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.


Availability


See also



Navigation:
Main Page with Articles and Tutorials
Keyword Reference - Alphabetical
Keyword Reference - By usage
Report a broken link