GLRENDER: Difference between revisions

From QB64 Phoenix Edition Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 15: Line 15:
* ''_ONLY'' - renders the OpenGL layer only, may speed up display update, if you don't use the software layer.
* ''_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}}
** 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 -->





Revision as of 18:47, 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.


Availability


See also



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