ShaderUtil.GetPropertyName

public static string GetPropertyName(Shader s, int propertyIdx);

Parameters

sThe shader to check against.
propertyIdxThe property index to use.

Description 描述

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