This wiki is out of date, use the continuation of this wiki instead

Render flags

From FenixWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 14:30, 1 May 2007 (edit)
Sandman (Talk | contribs)
m (category)
← Previous diff
Revision as of 00:12, 2 May 2007 (edit) (undo)
Sandman (Talk | contribs)

Next diff →
Line 1: Line 1:
[[Category:constants]] [[Category:constants]]
-* MODE_FULLSCREEN: Enables fullscreen view. 
-* MODE_WINDOW: Enables window view.+== Definition ==
 +Render flags are used in the function [[set_mode]]().
-* MODE_2XSCALE: Doubles the resolution. Edges get smoothed.+{|
 +| ''Constant'' || - ''Value'' || - ''Description''
 +|-
 +| MODE_WINDOW || - 0 || - Enables window view.
 +|-
 +| MODE_2XSCALE || - 1 || - Doubles the resolution. Edges get smoothed.
 +|-
 +| MODE_FULLSCREEN || - 2 || - Enables fullscreen view.
 +|-
 +| MODE_DOUBLEBUFFER || - 4 || - Enables using a double buffer for display.
 +|-
 +| MODE_HARDWARE || - 8 || - Enables writing directly to Video RAM instead of main RAM.
 +|-
 +| MODE_MODAL || - 16 || - Makes the main window a Modal window.
 +|-
 +| MODE_FRAMELESS || - 32 || - Makes the main window borderless.
 +|}
-* MODE_HARDWARE: Enables writing directly to Video RAM instead of main RAM, which causes some operations to speed up and some to slow down.+== More info ==
 +* MODE_HARDWARE can cause some operations to speed up and some to slow down.
-* MODE_DOUBLEBUFFER: Enables using a double buffer for display, which causes frame transitions to be smoother.+* MODE_DOUBLEBUFFER can cause frame transitions to be smoother.
-* MODE_MODAL: Makes the main window a Modal window, causing it to stay focused and hold the mouse.+* MODE_MODAL causes the main window to stay focused and hold the mouse.
- +
-* MODE_FRAMELESS: Makes the main window borderless.+

Revision as of 00:12, 2 May 2007


Definition

Render flags are used in the function set_mode().

Constant - Value - Description
MODE_WINDOW - 0 - Enables window view.
MODE_2XSCALE - 1 - Doubles the resolution. Edges get smoothed.
MODE_FULLSCREEN - 2 - Enables fullscreen view.
MODE_DOUBLEBUFFER - 4 - Enables using a double buffer for display.
MODE_HARDWARE - 8 - Enables writing directly to Video RAM instead of main RAM.
MODE_MODAL - 16 - Makes the main window a Modal window.
MODE_FRAMELESS - 32 - Makes the main window borderless.

More info

  • MODE_HARDWARE can cause some operations to speed up and some to slow down.
  • MODE_DOUBLEBUFFER can cause frame transitions to be smoother.
  • MODE_MODAL causes the main window to stay focused and hold the mouse.
Personal tools