Browse Subversion Repository
Diff of /trunk/FDK17プロジェクト/コード/04.グラフィック/CTexture.cs
Parent Directory
| Revision Log
| Patch
| 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 |
|
|
| 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 |
|
|
| |