MCPcopy Create free account
hub / github.com/AcademySoftwareFoundation/MaterialX / getMaxMipCount

Method getMaxMipCount

source/MaterialXRender/Image.cpp:128–131  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128unsigned int Image::getMaxMipCount() const
129{
130 return (unsigned int) std::log2(std::max(_width, _height)) + 1;
131}
132
133void Image::setTexelColor(unsigned int x, unsigned int y, const Color4& color)
134{

Callers 5

bindLightingMethod · 0.80
Render.cppFile · 0.80
updatePrefilteredMapMethod · 0.80
makeTextureMethod · 0.80
bindLightingMethod · 0.80

Calls 2

log2Function · 0.50
maxFunction · 0.50

Tested by

no test coverage detected