Bitmap for UWP
SubResourceIndexFromMipLevel メソッド

C1.UWP.DX アセンブリ > C1.Util.DX.Direct3D11 名前空間 > Resource クラス : SubResourceIndexFromMipLevel メソッド
A zero-based index for the mipmap level to address; 0 indicates the first, most detailed mipmap level.
The zero-based index for the array level to address; always use 0 for volume (3D) textures.
Number of mipmap levels in the resource.
Calculates the sub resource index from a miplevel.
シンタックス
'宣言
 
Public Shared Function SubResourceIndexFromMipLevel( _
   ByVal mipSlice As System.Integer, _
   ByVal arraySlice As System.Integer, _
   ByVal mipLevel As System.Integer _
) As System.Integer
public static System.int SubResourceIndexFromMipLevel( 
   System.int mipSlice,
   System.int arraySlice,
   System.int mipLevel
)

パラメータ

mipSlice
A zero-based index for the mipmap level to address; 0 indicates the first, most detailed mipmap level.
arraySlice
The zero-based index for the array level to address; always use 0 for volume (3D) textures.
mipLevel
Number of mipmap levels in the resource.

戻り値の型

The index which equals MipSlice + (ArraySlice * MipLevels).
参照

Resource クラス
Resource メンバ