CRayImage::SetPixel Method
C++
template<typename T>
void SetPixel(const T& tPixel, int iX, int iY)
Sets 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
[const T&] tPixel |
The pixel. |
[int] iX |
The X coordinate. |
[int] iY |
The Y coordinate. |