MCPcopy Create free account
hub / github.com/RenderKit/embree / get

Method get

tutorials/common/image/image.h:108–110  ·  view source on GitHub ↗

! returns pixel color */

Source from the content-addressed store, hash-verified

106
107 /*! returns pixel color */
108 __forceinline Color4 get(size_t x, size_t y) const {
109 return Color4(data[y*width+x]);
110 }
111
112 /*! sets pixel */
113 __forceinline void set(size_t x, size_t y, const Color4& c) {

Callers 9

buildBenchFunction · 0.45
storeTgaFunction · 0.45
storeSTBFunction · 0.45
compareImagesFunction · 0.45
storePPMFunction · 0.45
storeEXRFunction · 0.45
storePFMFunction · 0.45

Calls 1

Color4Class · 0.50

Tested by

no test coverage detected