CRayImage::Create Method
C++
virtual void Create(int iWidth, int iHeight, Rx::EPixelType ePixelType, Rx::EDataType eDataType)
Creates an image of given type and size and reserve the appropriate amount of memory.
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. |