PostProcessor

applies an effect to a rendertarget

Constructors

this
this(Vector2 resolution, Effect effect)
Undocumented in source.

Members

Functions

destroy
void destroy()

release resources

process
void process(RenderTarget source)

process the source and render to internal buffer

Variables

buffer
RenderTarget buffer;

the render target buffer of this postprocessor

effect
Effect effect;

the effect to apply to the input buffer

enabled
bool enabled;

whether to enable this postprocessor

Meta