Helper class to render one or more effects. You can access the previous rendering in your shader by declaring a sampler named textureSampler
Readonly engineSearch playground for engine
The engine the effect renderer has been created for.
Effect WrapperSearch playground for applyEffectWrapper
Sets the current effect wrapper to use during draw. The effect needs to be ready before calling this api. This also sets the default full screen position attribute.
Defines the effect to draw with
BuffersSearch playground for bindBuffers
Binds the embedded attributes buffer to the effect.
Defines the effect to bind the attributes for
Disposes of the effect renderer
Draws a full screen quad.
StatesSearch playground for restoreStates
Restores engine states
StatesSearch playground for saveStates
Saves engine states
ViewportSearch playground for setViewport
Sets the current viewport in normalized coordinates 0-1
Optional viewport: Viewport
Defines the viewport to set (defaults to 0 0 1 1)