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

Method set

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

! sets pixel */

Source from the content-addressed store, hash-verified

111
112 /*! sets pixel */
113 __forceinline void set(size_t x, size_t y, const Color4& c) {
114 c.set(data[y*width+x]);
115 }
116
117 /*! returns data pointer of image */
118 __forceinline void* ptr() {

Callers

nothing calls this directly

Calls 1

setMethod · 0.45

Tested by

no test coverage detected