MCPcopy Create free account
hub / github.com/TomClabault/HIPRT-Path-Tracer / Image8Bit

Method Image8Bit

src/Image/Image.cpp:23–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21#include <deque>
22
23Image8Bit::Image8Bit(int width, int height, int channels) : Image8Bit(std::vector<unsigned char>(width * height * channels, 0), width, height, channels) {}
24
25Image8Bit::Image8Bit(const unsigned char* data, int width, int height, int channels) : width(width), height(height), channels(channels)
26{

Callers

nothing calls this directly

Calls 2

insertMethod · 0.80
endMethod · 0.45

Tested by

no test coverage detected