Version: 2018.2
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.