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

Method ReloadAsCompressed

Source/Graphics/textures.cpp:2666–2668  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2664}
2665
2666bool Textures::ReloadAsCompressed(const TextureAssetRef& texref) {
2667 return ReloadAsCompressed(texref->GetTextureRef());
2668}
2669
2670bool Textures::ReloadAsCompressed(const TextureRef& texref) {
2671 // takes an uncompressed texture

Callers 1

allocateTextureMethod · 0.80

Calls 13

AssemblePathFunction · 0.85
GetWritePathFunction · 0.85
CreateParentDirsFunction · 0.85
FindImagePathFunction · 0.85
GetTextureRefMethod · 0.80
HasMipmapsMethod · 0.80
GenerateMipmapsMethod · 0.80
ConvertDXTMethod · 0.80
SaveDDSMethod · 0.80
validMethod · 0.45
sizeMethod · 0.45
IsCompressedMethod · 0.45

Tested by

no test coverage detected