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

Descripción

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


public static bool HasShaderDefine (Rendering.BuiltinShaderDefine defineHash);

Descripción

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