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

Method loadFromData

tao/texture_cache.cpp:1139–1147  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1137
1138
1139void Image::loadFromData(const QByteArray &data)
1140// ----------------------------------------------------------------------------
1141// Load uncompressed image from byte array
1142// ----------------------------------------------------------------------------
1143{
1144 if (compressed)
1145 clear();
1146 raw.loadFromData(data);
1147}
1148
1149
1150void * Image::allocateCompressed(int len)

Callers 1

loadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected