CRayImage::Create Method
C++
virtual void Create(int iWidth, int iHeight, Rx::EPixelType ePixelType, Rx::EDataType eDataType, const void* pvData)
Creates an image of given type and size and copies the data from the given pointer.
We can use as input types enumeration as they stay compatible between module versions even if the enumeration declarations have different numbers of entries.
Parameters
[int] iWidth |
The width of the image in pixels. |
[int] iHeight |
The height of the image in pixels. |
[Rx::EPixelType] ePixelType |
The pixel type ID. |
[Rx::EDataType] eDataType |
The data type ID. |
[const void*] pvData |
The data. |