MCPcopy Create free account
hub / github.com/RavEngine/RavEngine / GetDataSize

Method GetDataSize

deps/LLGL/sources/Core/Image.cpp:471–474  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

469}
470
471std::uint32_t Image::GetDataSize() const
472{
473 return (GetNumPixels() * GetBytesPerPixel());
474}
475
476std::uint32_t Image::GetNumPixels() const
477{

Callers 3

ImageMethod · 0.80
Image.cppFile · 0.80
LoadImageFunction · 0.80

Calls 1

GetBytesPerPixelFunction · 0.85

Tested by 1

LoadImageFunction · 0.64