C4 Engine
C4 Engine API Documentation

Effect::SetDistortionState

Defined in:  C4Effects.h
Sets the state necessary for rendering into the distortion buffer.
Prototype

void SetDistortionState(void);

Description
The SetDistortionState function sets all of the state necessary for rendering an effect into the distortion buffer. It sets the effect list to kEffectListDistortion, sets the kShaderDistortion shader flag, and sets the blend state to kBlendAccumulate. This function should be called by any subclass of Effect that renders into the distortion buffer.
See Also

Effect::SetEffectListIndex