This version of Unity is unsupported.

ShaderKeyword.GetKeywordName

Declaration

public static string GetKeywordName(Shader shader, Rendering.ShaderKeyword index);

Declaration

public static string GetKeywordName(ComputeShader shader, Rendering.ShaderKeyword index);
Obsolete GetKeywordName is deprecated. Use ShaderKeyword.GetGlobalKeywordName instead.

Declaration

public string GetKeywordName();

Description

Returns the string name of the keyword.