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)| Parameter | Type | Default Value |
|---|---|---|
| textureNode | TextureNode | — |
Constructs a new max mip level node.
| Accessor | Type | |
|---|---|---|
| get type | string | |
| get textureNode | TextureNode | |
| get texture | Texture | |
Properties
| Property | Type | Default Value | |
|---|---|---|---|
| _textureNode | TextureNode | — | |
| Method | Type | |
|---|---|---|
| update | () => void | |
Extends
UniformNodeTSL function for creating a max mip level node.
| Parameter | Type | Default Value |
|---|---|---|
| textureNode | TextureNode | — |
Returns
MaxMipLevelNode