Defined in:Sets the state necessary for rendering into the distortion buffer.
SetDistortionStatefunction sets all of the state necessary for rendering an effect into the distortion buffer. It sets the effect list to
kEffectListDistortion, sets the
kShaderDistortionshader flag, and sets the blend state to
kBlendAccumulate. This function should be called by any subclass of
Effectthat renders into the distortion buffer.