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

説明

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


public static bool HasShaderDefine (Rendering.BuiltinShaderDefine defineHash);

説明

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