GLRENDER: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
(Created page with "{{DISPLAYTITLE:_GLRENDER}} {{PageSyntax}} :'''_GLRENDER '''''mode'' {{PageParameters}} Mode can be: * _BEHIND - renders OpenGL context behind the software rendering * _ONTOP - renders OpenGL context on the top of the software rendering [default] * _ONLY - renders OpenGL context only ''See also:'' * Hardware images {{PageNavigation}}")
 
No edit summary
 
(3 intermediate revisions by the same user not shown)
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.


{{PageSyntax}}
{{PageSyntax}}
:'''_GLRENDER '''''mode''
: [[_GLRENDER]] {{Parameter|mode}}




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


Mode can be:
{{PageAvailability}}
* _BEHIND - renders OpenGL context behind the software rendering
<!-- QB64 = a version or none, QBPE = a version or all, Platforms = yes or no -->
* _ONTOP - renders OpenGL context on the top of the software rendering [default]
<gallery widths="48px" heights="48px" mode="nolines">
* _ONLY - renders OpenGL context only
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 -->




''See also:''
{{PageSeeAlso}}
* [[Hardware images]]
* [[Hardware images]]




{{PageNavigation}}
{{PageNavigation}}

Latest revision as of 22:13, 28 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 - the OpenGL layer is placed behind the software layer.
    • same as _DISPLAYORDER _GLRENDER, _SOFTWARE, _HARDWARE, _HARDWARE1
  • _ONTOP - the OpenGL layer is placed in front (on top) of the software layer (default).
    • same as _DISPLAYORDER _SOFTWARE, _HARDWARE, _GLRENDER, _HARDWARE1
  • _ONLY - the OpenGL layer is the only one to be displayed, may speed up display update, if you don't use the software layer.


Availability


See also



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