CastArrayTFrom, TToAs3D Method

Gets this CastArrayTFrom, TTo as an CastArray2DTFrom, TTo instance using the specified height and width. The CastArrayTFrom, TTo must have enough capacity for the specified dimensions.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public CastArray3D<TFrom, TTo> As3D(
	int depth,
	int height,
	int width
)

Parameters

depth  Int32
The depth of the array to be returned.
height  Int32
The height of the array to be returned.
width  Int32
The width of the array to be returned.

Return Value

CastArray3DTFrom, TTo
A CastArray2DTFrom, TTo instance using this CastArrayTFrom, TTo as its underlying buffer that has the specified dimensions.

See Also