Namespace: Rx – Class: IMemory2D – Header: Rx.Core/IMemory2D.h

IMemory2D::New Method

C++
virtual void New(size_t nRows, size_t nCols)

Creates a new memory block of nRows times nCols elements. The size of an element is fixed by the implementation and can be read out with the function GetElementSize().

Parameters

[size_t] nRows

The amount of rows to allocate.

[size_t] nCols

The amount of columns to allocate.