MCPcopy Create free account
hub / github.com/Reputeless/PerlinNoise / BMPHeader

Class BMPHeader

example.cpp:8–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6
7# pragma pack (push, 1)
8struct BMPHeader
9{
10 std::uint16_t bfType;
11 std::uint32_t bfSize;
12 std::uint16_t bfReserved1;
13 std::uint16_t bfReserved2;
14 std::uint32_t bfOffBits;
15 std::uint32_t biSize;
16 std::int32_t biWidth;
17 std::int32_t biHeight;
18 std::uint16_t biPlanes;
19 std::uint16_t biBitCount;
20 std::uint32_t biCompression;
21 std::uint32_t biSizeImage;
22 std::int32_t biXPelsPerMeter;
23 std::int32_t biYPelsPerMeter;
24 std::uint32_t biClrUsed;
25 std::uint32_t biClrImportant;
26};
27static_assert(sizeof(BMPHeader) == 54);
28# pragma pack (pop)
29

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected