SetShader sets the name of the shader program for this material
(sname string)
| 158 | |
| 159 | // SetShader sets the name of the shader program for this material |
| 160 | func (mat *Material) SetShader(sname string) { |
| 161 | |
| 162 | mat.shader = sname |
| 163 | } |
| 164 | |
| 165 | // Shader returns the current name of the shader program for this material |
| 166 | func (mat *Material) Shader() string { |
no outgoing calls
no test coverage detected