public EffectBlock(D3D9.Effect effect) { Effect = effect; Effect.Technique = Effect.GetTechnique(0); Effect.Begin(); Effect.BeginPass(0); }
public override void Begin() { _effect.Begin(); _effect.BeginPass(0); }
public EffectBlock(D3D9.Effect effect) { Effect = effect; Effect.Technique = Effect.GetTechnique(0); Effect.Begin(); Effect.BeginPass(0); }
public override void Begin() { _effect.Begin(); _effect.BeginPass(0); }