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

Method Bitmap

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

Source from the content-addressed store, hash-verified

21struct Bitmap
22{
23 Bitmap() = default;
24 Bitmap(int w, int h, int comp, eBitmapFormat fmt)
25 :w_(w), h_(h), comp_(comp), fmt_(fmt), data_(w * h * comp * getBytesPerComponent(fmt))
26 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected