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