Develop and Download Open Source Software

Browse Subversion Repository

Diff of /trunk/FDK17プロジェクト/コード/04.グラフィック/CTexture.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 147 by kairera0467, Sat Aug 10 05:37:35 2013 UTC revision 153 by kairera0467, Sat Sep 7 14:47:16 2013 UTC
# Line 364  namespace FDK Line 364  namespace FDK
364                  {                  {
365                          this.t2D描画( device, x, y, 1f, rc画像内の描画領域 );                          this.t2D描画( device, x, y, 1f, rc画像内の描画領域 );
366                  }                  }
367            public void t2D描画( Device device, float x, float y )
368                    {
369                            this.t2D描画( device, (int)x, (int)y, 1f, this.rc全画像 );
370                    }
371                    public void t2D描画( Device device, float x, float y, Rectangle rc画像内の描画領域 )
372                    {
373                            this.t2D描画( device, (int)x, (int)y, 1f, rc画像内の描画領域 );
374                    }
375                  public void t2D描画( Device device, int x, int y, float depth, Rectangle rc画像内の描画領域 )                  public void t2D描画( Device device, int x, int y, float depth, Rectangle rc画像内の描画領域 )
376                  {                  {
377                          if( this.texture == null )              if (this.texture == null)
378                  throw new InvalidOperationException("テクスチャは生成されていません。");                  return;
379    
380                          this.tレンダリングステートの設定( device );                          this.tレンダリングステートの設定( device );
381    
# Line 660  namespace FDK Line 668  namespace FDK
668                          device.DrawUserPrimitives( PrimitiveType.TriangleStrip, 2, this.cvPositionColoredVertexies );                          device.DrawUserPrimitives( PrimitiveType.TriangleStrip, 2, this.cvPositionColoredVertexies );
669                  }                  }
670    
671                  #region [ IDosposable 実装 ]                  #region [ IDisposable 実装 ]
672                  //-----------------                  //-----------------
673                  public void Dispose()                  public void Dispose()
674                  {                  {

Legend:
Removed from v.147  
changed lines
  Added in v.153

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26