AddTexture adds the specified Texture2d to the material
(tex *texture.Texture2D)
| 342 | |
| 343 | // AddTexture adds the specified Texture2d to the material |
| 344 | func (mat *Material) AddTexture(tex *texture.Texture2D) { |
| 345 | |
| 346 | mat.textures = append(mat.textures, tex) |
| 347 | } |
| 348 | |
| 349 | // RemoveTexture removes the specified Texture2d from the material |
| 350 | func (mat *Material) RemoveTexture(tex *texture.Texture2D) { |
no outgoing calls
no test coverage detected