TextureLoader.FromVolumeStream(Device,Stream,Int32,Int32,Int32,Int32,Int32,Usage,Format,Pool,Filter,Filter,Int32,ImageInformation,PaletteEntry)
FromVolumeStream メソッド
メモリ内のファイルからボリューム テクスチャを作成する。
定義
Visual Basic | Public Shared Function FromVolumeStream( _ ByVal device As Device, _ ByVal stream As Stream, _ ByVal readBytes As Integer, _ 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, _ ByRef srcInformation As ImageInformation, _ ByRef palette As PaletteEntry _ ) As VolumeTexture |
C# | public static VolumeTexture FromVolumeStream( Device device, Stream stream, int readBytes, int width, int height, int depth, int mipLevels, Usage usage, Format format, Pool pool, Filter filter, Filter mipFilter, int colorKey, ref ImageInformation srcInformation, out PaletteEntry palette ); |
Managed C++ | public: static VolumeTexture* FromVolumeStream( Device* device, Stream* stream, int readBytes, int width, int height, int depth, int mipLevels, Usage usage, Format format, Pool pool, Filter filter, Filter mipFilter, int colorKey, ImageInformation* srcInformation, PaletteEntry* palette ); |
JScript | public static function FromVolumeStream( device : Device, stream : Stream, readBytes : int, width : int, height : int, depth : int, mipLevels : int, usage : Usage, format : Format, pool : Pool, filter : Filter, mipFilter : Filter, colorKey : int, srcInformation : ImageInformation, palette : PaletteEntry ) : VolumeTexture; |
パラメータ
device | Microsoft.DirectX.Direct3D.Device. |
stream | System.IO.Stream. |
readBytes | System.Int32. |
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. |
srcInformation | Microsoft.DirectX.Direct3D.ImageInformation. |
palette | Microsoft.DirectX.Direct3D.PaletteEntry[]. |
戻り値
Microsoft.DirectX.Direct3D.VolumeTexture.
対象
© 2002 Microsoft Corporation. All rights reserved. Terms of use.