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

IMemory2D::CopyFrom Method

C++
virtual void CopyFrom(const IMemory2DAccess* pMemory)

Copies the memory block described by pMemory into this memory block. This memory block is automatically resized. The function throws an exception if the element sizes of the given memory block does not agree with the element size of this memory block.

Parameters

[const IMemory2DAccess*] pMemory

[in] The memory to copy into this memory block.