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

Method set

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

Source from the content-addressed store, hash-verified

21 virtual Color4 get(size_t x, size_t y) const = 0;
22 virtual void set(size_t x, size_t y, const Color4& c) = 0;
23 void set(size_t x, size_t y, const Color& c) { set(x,y,Color4(c.r,c.g,c.b,1.0f)); }
24 void convertToRGBA8(unsigned char *dest)
25 {
26 for (size_t y=0;y<height;y++)

Callers 6

setMethod · 0.45
loadTGAFunction · 0.45
loadSTBFunction · 0.45
loadPPMFunction · 0.45
loadEXRFunction · 0.45
loadPFMFunction · 0.45

Calls 2

setFunction · 0.50
Color4Class · 0.50

Tested by

no test coverage detected