| 1232 | } |
| 1233 | |
| 1234 | void setPixels(const float* pPixels, const int width, const int height) |
| 1235 | { |
| 1236 | this->init({ width, height, 1 }); |
| 1237 | memcpy((void*) this->mvpHostData, pPixels, size_t(width) * height * sizeof(T)); |
| 1238 | } |
| 1239 | #else |
| 1240 | T get(int x, int y, int z) |
| 1241 | { |