MCPcopy Create free account
hub / github.com/NVlabs/flip / setPixels

Method setPixels

src/cpp/FLIP.h:1234–1238  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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 {

Callers 2

evaluateFunction · 0.80
loadFunction · 0.80

Calls 1

initMethod · 0.95

Tested by

no test coverage detected