Lua API:Renderer

From The Powder Toy
Revision as of 00:05, 7 September 2013 by gamax92 (talk | contribs) (Handle Constants better)
Jump to: navigation, search

Description goes here.

Methods

renderer.renderModes

 renderer.renderModes()


renderer.displayModes

 renderer.displayModes()


renderer.grid

 renderer.grid()


renderer.decorations

 renderer.decorations()


renderer.debugHUD

 renderer.debugHUD()


renderer.colorMode

 renderer.colorMode()


renderer.colourMode

 renderer.colourMode()


Constants

Any of these constants can be accessed with renderer.<constant name here>

FIRE

FIRE_ADD
FIRE_BLEND

DISPLAY

DISPLAY_PERS
DISPLAY_WARP
DISPLAY_AIRH
DISPLAY_AIRV
DISPLAY_EFFE
DISPLAY_AIRC
DISPLAY_AIR
DISPLAY_AIRP

COLOUR

COLOUR_BASC
COLOUR_HEAT
COLOUR_GRAD
COLOUR_LIFE
COLOUR_DEFAULT

PSPEC

PSPEC_STICKMAN

PMODE

PMODE_BLUR
PMODE_FLAT
PMODE_LFLARE
PMODE_FLARE
PMODE_ADD
PMODE_NONE
PMODE_BLEND
PMODE_SPARK
PMODE_BLOB
PMODE_GLOW

NO

NO_DECO

EFFECT

EFFECT_LINES
EFFECT_GRAVOUT
EFFECT_GRAVIN
EFFECT_DBGLINES

RENDER

RENDER_EFFE
RENDER_BLUR
RENDER_GLOW
RENDER_NONE
RENDER_FIRE
RENDER_BASC
RENDER_BLOB

DECO

DECO_FIRE

Uncatergorized

OPTIONS
FIREMODE
EFFECT
PMODE