| 23 |
{ |
{ |
| 24 |
// プロパティ |
// プロパティ |
| 25 |
|
|
| 26 |
public static readonly string VERSION = "Ver3.62aRC2(1906--)"; |
public static readonly string VERSION = "Ver3.62aRC3(200524)"; |
| 27 |
public static readonly string SLIMDXDLL = "c_net20x86_Jun2010"; |
public static readonly string SLIMDXDLL = "c_net20x86_Jun2010"; |
| 28 |
public static readonly string D3DXDLL = "d3dx9_43.dll"; // June 2010 |
public static readonly string D3DXDLL = "d3dx9_43.dll"; // June 2010 |
| 29 |
//public static readonly string D3DXDLL = "d3dx9_42.dll"; // February 2010 |
//public static readonly string D3DXDLL = "d3dx9_42.dll"; // February 2010 |
| 1596 |
//----------------- |
//----------------- |
| 1597 |
public static CTexture tテクスチャの生成( string fileName ) |
public static CTexture tテクスチャの生成( string fileName ) |
| 1598 |
{ |
{ |
| 1599 |
return tテクスチャの生成( fileName, false ); |
return tテクスチャの生成( fileName, "" ); |
| 1600 |
|
} |
| 1601 |
|
public static CTexture tテクスチャの生成( string fileName, string _label ) |
| 1602 |
|
{ |
| 1603 |
|
return tテクスチャの生成( fileName, false, _label ); |
| 1604 |
} |
} |
| 1605 |
public static CTexture tテクスチャの生成( string fileName, bool b黒を透過する ) |
public static CTexture tテクスチャの生成( string fileName, bool b黒を透過する ) |
| 1606 |
{ |
{ |
| 1607 |
|
return tテクスチャの生成( fileName, false, "" ); |
| 1608 |
|
} |
| 1609 |
|
public static CTexture tテクスチャの生成( string fileName, bool b黒を透過する, string _label ) |
| 1610 |
|
{ |
| 1611 |
if ( app == null ) |
if ( app == null ) |
| 1612 |
{ |
{ |
| 1613 |
return null; |
return null; |
| 1614 |
} |
} |
| 1615 |
try |
try |
| 1616 |
{ |
{ |
| 1617 |
return new CTexture( app.Device, fileName, TextureFormat, b黒を透過する ); |
return new CTexture( app.Device, fileName, TextureFormat, b黒を透過する, _label ); |
| 1618 |
} |
} |
| 1619 |
catch ( CTextureCreateFailedException ) |
catch ( CTextureCreateFailedException ) |
| 1620 |
{ |
{ |