GetTexDim(Shader, int)
Gets texture dimension of a shader property.
阅读时间1 分钟最后更新于 1 个月前
Definition
- Type: Method
- Namespace: UnityEditor
- Assembly: UnityEditor
public static TextureDimension GetTexDim(Shader s, int propertyIdx)
Parameters
Returns
Type | Description |
|---|---|
| TextureDimension | Texture dimension. |
Remarks
Additional Resources: TextureDimension, ShaderUtil.GetPropertyCount.