Effect::SetDistortionState
Defined in:
Sets the state necessary for rendering into the distortion buffer.
C4Effects.h
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