예제 #1
0
파일: FormViewer3D.cs 프로젝트: Sadral/TRRM
        public EffectBlock(D3D9.Effect effect)
        {
            Effect = effect;

            Effect.Technique = Effect.GetTechnique(0);
            Effect.Begin();
            Effect.BeginPass(0);
        }
예제 #2
0
 public override void Begin()
 {
     _effect.Begin();
     _effect.BeginPass(0);
 }