ドキュメント

Unity Engine

Unity Engine

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

The shader to get the property from.

propertyIdx

The property index to use.

Returns

Type

Description

TextureDimensionTexture dimension.

Remarks