MCPcopy Create free account
hub / github.com/PacktPublishing/3D-Graphics-Rendering-Cookbook / setPixel

Method setPixel

shared/Bitmap.h:55–58  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53 }
54
55 void setPixel(int x, int y, const glm::vec4& c)
56 {
57 (*this.*setPixelFunc)(x, y, c);
58 }
59 glm::vec4 getPixel(int x, int y) const
60 {
61 return ((*this.*getPixelFunc)(x, y));

Calls

no outgoing calls

Tested by

no test coverage detected