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

Method HasMipmaps

Source/Images/texture_data.cpp:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63}
64
65bool TextureData::HasMipmaps() const {
66 if (mip_levels == 1) {
67 return false;
68 } else {
69 return true;
70 }
71}
72
73unsigned int TextureData::GetWidth() const {
74 return width;

Callers 2

TextureToVRAMMethod · 0.80
ReloadAsCompressedMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected