Method SetGlobalShaderKeywords
SetGlobalShaderKeywords(MaterialQuality)
Set the global keyword for the provided MaterialQuality.
Declaration
public static void SetGlobalShaderKeywords(this MaterialQuality level)
Parameters
Type | Name | Description |
---|---|---|
MaterialQuality | level | MaterialQuality level to set the keyword for. |
SetGlobalShaderKeywords(MaterialQuality, CommandBuffer)
Set the global keyword for the provided MaterialQuality.
Declaration
public static void SetGlobalShaderKeywords(this MaterialQuality level, CommandBuffer cmd)
Parameters
Type | Name | Description |
---|---|---|
MaterialQuality | level | MaterialQuality level to set the keyword for. |
CommandBuffer | cmd | Command Buffer used to setup the keyword. |