기술 자료

Unity Engine

Unity Engine

GetTexDim(Shader, int)

Gets texture dimension of a shader property.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEditor
  • Assembly: UnityEditor.CoreModule
경고
Deprecated. Use Shader.GetPropertyTextureDimension instead.
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