TextureLoader.FromVolumeFile(Device,String,Int32,Int32,Int32,Int32,Usage,Format,Pool,Filter,Filter,Int32)
FromVolumeFile メソッド
ファイルを基にしてボリューム テクスチャを作成する。
定義
Visual Basic | Public Shared Function FromVolumeFile( _ ByVal device As Device, _ ByVal srcFile As String, _ ByVal width As Integer, _ ByVal height As Integer, _ ByVal depth As Integer, _ ByVal mipLevels As Integer, _ ByVal usage As Usage, _ ByVal format As Format, _ ByVal pool As Pool, _ ByVal filter As Filter, _ ByVal mipFilter As Filter, _ ByVal colorKey As Integer _ ) As VolumeTexture |
C# | public static VolumeTexture FromVolumeFile( Device device, string srcFile, int width, int height, int depth, int mipLevels, Usage usage, Format format, Pool pool, Filter filter, Filter mipFilter, int colorKey ); |
Managed C++ | public: static VolumeTexture* FromVolumeFile( Device* device, String* srcFile, int width, int height, int depth, int mipLevels, Usage usage, Format format, Pool pool, Filter filter, Filter mipFilter, int colorKey ); |
JScript | public static function FromVolumeFile( device : Device, srcFile : String, width : int, height : int, depth : int, mipLevels : int, usage : Usage, format : Format, pool : Pool, filter : Filter, mipFilter : Filter, colorKey : int ) : VolumeTexture; |
パラメータ
device | Microsoft.DirectX.Direct3D.Device. |
srcFile | System.String. |
width | System.Int32. |
height | System.Int32. |
depth | System.Int32. |
mipLevels | System.Int32. |
usage | Microsoft.DirectX.Direct3D.Usage. |
format | Microsoft.DirectX.Direct3D.Format. |
pool | Microsoft.DirectX.Direct3D.Pool. |
filter | Microsoft.DirectX.Direct3D.Filter. |
mipFilter | Microsoft.DirectX.Direct3D.Filter. |
colorKey | System.Int32. |
戻り値
Microsoft.DirectX.Direct3D.VolumeTexture.
対象
© 2002 Microsoft Corporation. All rights reserved. Terms of use.