GLRENDER: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 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.




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'' - the OpenGL layer is placed 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'' - 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}}
 
 
{{PageAvailability}}
<!-- 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 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