API Docs for:
Show:

gs.GraphicEffectType Class

Describes different kind of shader-based graphic-effect types.

Constructor

gs.GraphicEffectType

()

Item Index

Properties

Properties

ADDON

Number static

A add-on effect uses gl_FragColor as input. Means it just adds it's effect to the already existing color-value in gl_FragColor. This is the case for effects such as tinting or masking.

BASE

Number static

A base effect overrides/replaces the content of gl_FragColor and does not use gl_FragColor as input. This is the case for effects such as pixelate or blur.

INTERNAL

Number static

An internal effect. This is only used for certain built-in effects of the engine.