MaxMipLevelNode

Last modified: Jun 30, 2024

A special type of uniform node that computes the maximum mipmap level for a given texture node.

const level = maxMipLevel( textureNode );
export {}

Constructor

new MaxMipLevelNode(textureNode)
ParameterTypeDefault Value
textureNodeTextureNode

Constructs a new max mip level node.

AccessorType

Properties

PropertyTypeDefault Value
_textureNodeTextureNode
MethodType

Extends

UniformNode

maxMipLevel

TSL function for creating a max mip level node.

ParameterTypeDefault Value
textureNodeTextureNode

Returns

MaxMipLevelNode