Version: Unity 6 Preview (6000.0)
LanguageEnglish
  • C#

ShaderUtil.GetPropertyType

Declaration

public static ShaderUtil.ShaderPropertyType GetPropertyType(Shader s, int propertyIdx);

Parameters

s The shader to check against.
propertyIdx The property index to use.

Description

Get the ShaderProperyType of the shader propery at index propertyIdx of Shader s.