GLRENDER: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
{{DISPLAYTITLE:_GLRENDER}}
{{DISPLAYTITLE:_GLRENDER}}
'''_GLRENDER''' is just a fancy [[_DISPLAYORDER]], it's a convenience statement for the case you don't care about the harware image layers but only about the relation of the software and OpenGL layers. Both statements modify the same thing.




Line 7: Line 8:


{{PageParameters}}
{{PageParameters}}
Mode can be:
The {{Parameter|mode}} can be one of the following with the correspondence to the full '''_DISPLAYORDER''' statement:
* _BEHIND - renders OpenGL context behind the software rendering
* ''_BEHIND'' - renders the OpenGL layer behind the software layer.
* _ONTOP - renders OpenGL context on the top of the software rendering [default]
** same as {{InlineCode}}{{Cl|_DISPLAYORDER}} _GLRENDER, _SOFTWARE, _HARDWARE, _HARDWARE1{{InlineCodeEnd}}
* _ONLY - renders OpenGL context only
* ''_ONTOP'' - renders the OpenGL layer on the top of the software layer (default).
** same as {{InlineCode}}{{Cl|_DISPLAYORDER}} _SOFTWARE, _HARDWARE, _GLRENDER, _HARDWARE1{{InlineCodeEnd}}
* ''_ONLY'' - renders the OpenGL layer only, may speed up display update, if you don't use the software layer.
** same as {{InlineCode}}{{Cl|_DISPLAYORDER}} _GLRENDER{{InlineCodeEnd}}





Revision as of 18:24, 24 September 2024

_GLRENDER is just a fancy _DISPLAYORDER, it's a convenience statement for the case you don't care about the harware image layers but only about the relation of the software and OpenGL layers. Both statements modify the same thing.


Syntax

_GLRENDER mode


Parameters

The mode can be one of the following with the correspondence to the full _DISPLAYORDER statement:

  • _BEHIND - renders the OpenGL layer behind the software layer.
    • same as _DISPLAYORDER _GLRENDER, _SOFTWARE, _HARDWARE, _HARDWARE1
  • _ONTOP - renders the OpenGL layer on the top of the software layer (default).
    • same as _DISPLAYORDER _SOFTWARE, _HARDWARE, _GLRENDER, _HARDWARE1
  • _ONLY - renders the OpenGL layer only, may speed up display update, if you don't use the software layer.


See also



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