Adds a pass to the given material and optionally adds define strings to the pass.
The material to which the pass will be added.
The pass to be added to the material.
Optional
An optional array of define strings to be added to the pass. Defaults to ['ENABLE_BASE_TEX'].
The pass information after adding the pass and define strings.
Adds a pass to the given material and optionally adds define strings to the pass.