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 02:09, 4 May 2007 (edit)
Sandman (Talk | contribs)

← Previous diff
Revision as of 15:20, 13 May 2007 (edit) (undo)
Sandman (Talk | contribs)
m
Next diff →
Line 12: Line 12:
| MODE_WINDOW || - 0 || - Enables window view. | MODE_WINDOW || - 0 || - Enables window view.
|- |-
-| MODE_2XSCALE || - 1 || - Doubles the resolution. Edges get smoothed.+| MODE_2XSCALE || - 256 || - Doubles the resolution. Edges get smoothed.
|- |-
-| MODE_FULLSCREEN || - 2 || - Enables fullscreen view.+| MODE_FULLSCREEN || - 512 || - Enables fullscreen view.
|- |-
-| MODE_DOUBLEBUFFER || - 4 || - Enables using a double buffer for display. Also called DOUBLE_BUFFER.+| MODE_DOUBLEBUFFER || - 1024 || - Enables using a double buffer for display. Also called DOUBLE_BUFFER.
|- |-
-| MODE_HARDWARE || - 8 || - Enables writing directly to Video RAM instead of main RAM. Also called HW_SURFACE.+| MODE_HARDWARE || - 2048 || - Enables writing directly to Video RAM instead of main RAM. Also called HW_SURFACE.
|- |-
-| MODE_MODAL || - 16 || - Makes the main window a Modal window.+| MODE_MODAL || - 4096 || - Makes the main window a Modal window.
|- |-
-| MODE_FRAMELESS || - 32 || - Makes the main window borderless.+| MODE_FRAMELESS || - 8192 || - Makes the main window borderless.
|} |}

Revision as of 15:20, 13 May 2007


Definition

Render flags are used to specify the mode of rendering, by passing them to the function set_mode() as the flags parameter.

See also graph_modes.

List

Constant - Value - Description
MODE_WINDOW - 0 - Enables window view.
MODE_2XSCALE - 256 - Doubles the resolution. Edges get smoothed.
MODE_FULLSCREEN - 512 - Enables fullscreen view.
MODE_DOUBLEBUFFER - 1024 - Enables using a double buffer for display. Also called DOUBLE_BUFFER.
MODE_HARDWARE - 2048 - Enables writing directly to Video RAM instead of main RAM. Also called HW_SURFACE.
MODE_MODAL - 4096 - Makes the main window a Modal window.
MODE_FRAMELESS - 8192 - 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