MCPcopy Create free account
hub / github.com/WolfireGames/overgrowth / IsCompressed

Method IsCompressed

Source/Graphics/textures.cpp:2634–2636  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2632}
2633
2634bool Textures::IsCompressed(const TextureAssetRef& texture) {
2635 return IsCompressed(texture->GetTextureRef());
2636}
2637
2638bool Textures::IsCompressed(const TextureRef& texture) {
2639 PROFILED_TEXTURE_MUTEX_LOCK

Callers 4

allocateTextureMethod · 0.45
subImageMethod · 0.45
TextureToVRAMMethod · 0.45
ReloadAsCompressedMethod · 0.45

Calls 4

GetTextureRefMethod · 0.80
DisplayErrorFunction · 0.50
validMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected