Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
65
bool TextureData::HasMipmaps() const {
66
if (mip_levels == 1) {
67
return false;
68
} else {
69
return true;
70
}
71
}
72
73
unsigned int TextureData::GetWidth() const {
74
return width;
Callers
2
TextureToVRAM
Method · 0.80
ReloadAsCompressed
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected