Version: 2017.4
public static bool HasShaderDefine (Rendering.GraphicsTier tier, Rendering.BuiltinShaderDefine defineHash);

Description

Returns true if shader define was set when compiling shaders for current GraphicsTier.


public static bool HasShaderDefine (Rendering.BuiltinShaderDefine defineHash);

Description

Returns true if shader define was set when compiling shaders for given tier.