File: MaxMipLevelNode.md | Updated: 11/15/2025
A special type of uniform node that computes the maximum mipmap level for a given texture node.
const level = maxMipLevel( textureNode );
Constructs a new max mip level node.
textureNode | The texture node to compute the max mip level for.
---|---
The texture.
The texture node to compute the max mip level for.
The updateType is set to NodeUpdateType.FRAME since the node updates the texture once per frame in its MaxMipLevelNode#update method.
Default is 'frame'.
Overrides: UniformNode#updateType