MCPcopy Create free account
hub / github.com/NazaraEngine/NazaraEngine / GetBytesPerPixel

Method GetBytesPerPixel

src/Nazara/Utility/AbstractImage.cpp:13–16  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

11 AbstractImage::~AbstractImage() = default;
12
13 UInt8 AbstractImage::GetBytesPerPixel() const
14 {
15 return PixelFormat::GetBytesPerPixel(GetFormat());
16 }
17
18 bool AbstractImage::IsCompressed() const
19 {

Callers 1

CreateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected