GetTextureDimension
Gets expected texture dimension for a named exposed texture.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEngine.VFX
- Assembly: UnityEngine.VFXModule
GetTextureDimension(int)
Gets expected texture dimension for a named exposed texture.
public TextureDimension GetTextureDimension(int nameID)
Parameters
The ID of the property. This is the same ID that Shader.PropertyToID returns.
Returns
Type | Description |
|---|---|
| TextureDimension |
GetTextureDimension(string)
Gets expected texture dimension for a named exposed texture.
public TextureDimension GetTextureDimension(string name)
Parameters
The name of the property.
Returns
Type | Description |
|---|---|
| TextureDimension |