/// <summary> /// This method applies the first past of the current technique to the device's immediatecontext /// </summary> public void Apply() { // Render all passes (usually just one) var pass = CurrentTechnique.GetPassByIndex(0); pass.Apply(context); }
public EffectPass GetCurrentPass(int index) { return(CurrentTechnique.GetPassByIndex(index)); }