Array3DT(Int32, Int32, Int32, Boolean) Constructor

Initializes a new instance of the Array3DT struct using the specified depth, height and width. Parameter order is the same as in case of instantiating a regular three-dimensional array.
If the created Array3DT is not used anymore the Dispose method should be called to return the possibly ArrayPoolT-allocated underlying buffer to the pool.

Definition

Namespace: KGySoft.Collections
Assembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
C#
public Array3D(
	int depth,
	int height,
	int width,
	bool assureClean
)

Parameters

depth  Int32
The depth of the array to be created.
height  Int32
The height of the array to be created.
width  Int32
The width of the array to be created.
assureClean  Boolean
to make sure the allocated underlying array is zero-initialized; otherwise, . May not have an effect on older targeted platforms.

See Also