CRayImage::GetPixel Method
C++
template<typename T>
T GetPixel(int iX, int iY)
Gets the value of the pixel at location (iX, iY).
The given pixel type must match the image format. There are no bounds checks.
Template Parameters
T |
The pixel type. |
Parameters
[int] iX |
The X coordinate. |
[int] iY |
The Y coordinate. |
Returns
T |
The pixel. |