Browse Subversion Repository
Diff of /trunk/DTXManiaプロジェクト/コード/全体/CDTXMania.cs
Parent Directory
| Revision Log
| Patch
| 1628 |
if( tx != null ) |
if( tx != null ) |
| 1629 |
CDTXMania.t安全にDisposeする( ref tx ); |
CDTXMania.t安全にDisposeする( ref tx ); |
| 1630 |
} |
} |
| 1631 |
|
public static void tテクスチャの解放( ref CTextureAf tx ) |
| 1632 |
|
{ |
| 1633 |
|
CDTXMania.t安全にDisposeする( ref tx ); |
| 1634 |
|
} |
| 1635 |
public static CTexture tテクスチャの生成( byte[] txData ) |
public static CTexture tテクスチャの生成( byte[] txData ) |
| 1636 |
{ |
{ |
| 1637 |
return tテクスチャの生成( txData, false ); |
return tテクスチャの生成( txData, false ); |
| 1686 |
return null; |
return null; |
| 1687 |
} |
} |
| 1688 |
} |
} |
| 1689 |
|
public static CTextureAf tテクスチャの生成Af( string fileName ) |
| 1690 |
|
{ |
| 1691 |
|
return tテクスチャの生成Af( fileName, false ); |
| 1692 |
|
} |
| 1693 |
|
public static CTextureAf tテクスチャの生成Af( string fileName, bool b黒を透過する ) |
| 1694 |
|
{ |
| 1695 |
|
if ( app == null ) |
| 1696 |
|
{ |
| 1697 |
|
return null; |
| 1698 |
|
} |
| 1699 |
|
try |
| 1700 |
|
{ |
| 1701 |
|
return new CTextureAf( app.Device, fileName, TextureFormat, b黒を透過する ); |
| 1702 |
|
} |
| 1703 |
|
catch ( CTextureCreateFailedException ) |
| 1704 |
|
{ |
| 1705 |
|
Trace.TraceError( "テクスチャの生成に失敗しました。({0})", fileName ); |
| 1706 |
|
return null; |
| 1707 |
|
} |
| 1708 |
|
catch ( FileNotFoundException ) |
| 1709 |
|
{ |
| 1710 |
|
Trace.TraceError( "テクスチャファイルが見つかりませんでした。({0})", fileName ); |
| 1711 |
|
return null; |
| 1712 |
|
} |
| 1713 |
|
} |
| 1714 |
|
|
| 1715 |
public static CDirectShow t失敗してもスキップ可能なDirectShowを生成する(string fileName, IntPtr hWnd, bool bオーディオレンダラなし) |
public static CDirectShow t失敗してもスキップ可能なDirectShowを生成する(string fileName, IntPtr hWnd, bool bオーディオレンダラなし) |
| 1716 |
{ |
{ |
|
|
Legend:
| Removed from v.425 |
|
| changed lines |
| |
Added in v.430 |
|
|
| |