ComponentOne Bitmap for WPF
C1.WPF.DX.4.6.2 Assembly / C1.Util.DX.Direct3D11 Namespace / Texture2D Class / CalculateSubResourceIndex Method

In This Topic
    CalculateSubResourceIndex Method (Texture2D)
    In This Topic
    Calculates the sub resource index for a particular mipSlice and arraySlice.
    Syntax
    'Declaration
     
    Public Overrides Function CalculateSubResourceIndex( _
       ByVal mipSlice As Integer, _
       ByVal arraySlice As Integer, _
       ByRef mipSize As Integer _
    ) As Integer
    public override int CalculateSubResourceIndex( 
       int mipSlice,
       int arraySlice,
       out int mipSize
    )

    Parameters

    mipSlice
    arraySlice
    mipSize
    See Also