我创建并加载了这个图像:
int x, y, comps; unsigned char* data = stbi_load(".//textures//heightMapTexture.png", &x, &y, &comps, 1);
现在,我如何获得该图像某个像素的 RGB?
c++ image
c++ ×1
image ×1