Bitmap for WPF
CalculateSubResourceIndex メソッド (Resource)

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.Direct3D11 名前空間 > Resource クラス : CalculateSubResourceIndex メソッド
The mip slice.
The array slice.
The size of slice. This values is resource dependent. Texture1D -> mipSize of the Width. Texture2D -> mipSize of the Height. Texture3D -> mipsize of the Depth
Calculates the sub resource index for a particular mipSlice and arraySlice.
シンタックス
'宣言
 
Public Overridable Function CalculateSubResourceIndex( _
   ByVal mipSlice As System.Integer, _
   ByVal arraySlice As System.Integer, _
   ByRef mipSize As System.Integer _
) As System.Integer
public virtual System.int CalculateSubResourceIndex( 
   System.int mipSlice,
   System.int arraySlice,
   out System.int mipSize
)

パラメータ

mipSlice
The mip slice.
arraySlice
The array slice.
mipSize
The size of slice. This values is resource dependent. Texture1D -> mipSize of the Width. Texture2D -> mipSize of the Height. Texture3D -> mipsize of the Depth

戻り値の型

The resulting miplevel calulated for this instance with this mipSlice and arraySlice.
参照

Resource クラス
Resource メンバ