GetTexDim(Shader, int)
Gets texture dimension of a shader property.
읽는 시간 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.