public void insertEffect(int index, IPostProcessingEffect multiPass) { multiPass.initialize(mRenderer); mComponents.addAll(index, multiPass.getPasses()); mComponentsDirty = true; }
public void addEffect(IPostProcessingEffect multiPass) { multiPass.initialize(mRenderer); mComponents.addAll(multiPass.getPasses()); mComponentsDirty = true; }