MCPcopy Create free account
hub / github.com/c3d/tao3D / byteCount

Method byteCount

tao/texture_cache.cpp:1112–1123  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1110
1111
1112int Image::byteCount()
1113// ----------------------------------------------------------------------------
1114// The size in bytes of the image
1115// ----------------------------------------------------------------------------
1116{
1117 if (compressed)
1118 {
1119 Q_ASSERT(sz);
1120 return sz;
1121 }
1122 return raw.byteCount();
1123}
1124
1125
1126void Image::load(const QString &path, bool trycomp)

Callers 4

foreachFunction · 0.80
loadMethod · 0.80
unloadMethod · 0.80
transferMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected