File: TextureSizeNode.md | Updated: 11/15/2025
A node that represents the dimensions of a texture. The texture size is retrieved in the shader via built-in shader functions like textureDimensions() or textureSize().
Constructs a new texture size node.
textureNode | A texture node which size should be retrieved.
---|---
levelNode | A level node which defines the requested mip. Default is null.
This flag can be used for type testing.
Default is true.
A level node which defines the requested mip.
Default is null.
A texture node which size should be retrieved.