コード例 #1
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     this.First.Execute(Context);
     this.Second.Execute(Context);
 }
コード例 #2
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     GL.Color4(this.Color * Context.Modulation);
 }
コード例 #3
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     this.Texture.Bind();
 }
コード例 #4
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     GL.Begin(this.Mode);
     this.Geometry.Send();
     GL.End();
 }
コード例 #5
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     View view = Context.InverseView.Inverse;
     Point tl = view.TopLeft;
     Point tr = view.TopRight;
     Point bl = view.BottomLeft;
     Point br = view.BottomRight;
     GL.Begin(BeginMode.Quads);
     GL.TexCoord2((Vector2)tl); GL.Vertex2((Vector2)tl);
     GL.TexCoord2((Vector2)tr); GL.Vertex2((Vector2)tr);
     GL.TexCoord2((Vector2)br); GL.Vertex2((Vector2)br);
     GL.TexCoord2((Vector2)bl); GL.Vertex2((Vector2)bl);
     GL.End();
 }
コード例 #6
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
        public override void Execute(Context Context)
        {
            View iview = Context.InverseView;
            View inneriview = View.Compose(this.Projection, iview);

            Renderer.UpdateProjection(Context.InvertY, inneriview);
            Context.InverseView = inneriview;
            this.Inner.Execute(Context);

            Context.InverseView = iview;
            Renderer.UpdateProjection(Context.InvertY, iview);
        }
コード例 #7
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 /// <summary>
 /// Executes this procedure using the given context.
 /// </summary>
 public abstract void Execute(Context Context);
コード例 #8
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     Color omod = Context.Modulation;
     Context.Modulation = omod * this.Modulation;
     this.Inner.Execute(Context);
     Context.Modulation = omod;
 }
コード例 #9
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     this.A.Execute(Context);
 }
コード例 #10
0
ファイル: Procedure.cs プロジェクト: dzamkov/DUIP
 public override void Execute(Context Context)
 {
     for (int t = 0; t < this.Components.Length; t++)
     {
         this.Components[t].Execute(Context);
     }
 }