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