Contains information about a single variation of a Shader. Each variation can have a separate set of #defines that control shader compilation.
Optional
Returns a list of names of all registered parameters.
Removes all parameters.
Returns the value of a boolean parameter with the specified name. Returns false if the parameter cannot be found.
Returns the value of a float parameter with the specified name. Returns 0 if the parameter cannot be found.
Returns the value of a signed integer parameter with the specified name. Returns 0 if the parameter cannot be found.
Returns the value of a unsigned integer parameter with the specified name. Returns 0 if the parameter cannot be found.
Checks if the variation has a parameter with the specified name.
Removes a parameter with the specified name.
Sets the value of the parameter for the provided name. Any previous value for a parameter with the same name will be overwritten.
Contains information about a single variation of a Shader. Each variation can have a separate set of #defines that control shader compilation.