Capítulo 237 de 859
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().
Constructor
| Signature |
|---|
new TextureSizeNode( textureNode : TextureNode, levelNode : Node.<int> ) |
Properties
| Property | Description |
|---|---|
.isTextureSizeNode : boolean (readonly) | This flag can be used for type testing. |
.levelNode : Node.<int> | A level node which defines the requested mip. |
.textureNode : TextureNode | A texture node which size should be retrieved. |