GetTexDim(Shader, int)
Gets texture dimension of a shader property.
Read time 1 minuteLast updated 10 days ago
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor.CoreModule
public static TextureDimension GetTexDim(Shader s, int propertyIdx)
Parameters
Returns
Type | Description |
|---|---|
| TextureDimension | Texture dimension. |
Remarks
Additional Resources: TextureDimension, ShaderUtil.GetPropertyCount.