Repeat returns the current X and Y repeat factors
()
| 267 | |
| 268 | // Repeat returns the current X and Y repeat factors |
| 269 | func (t *Texture2D) Repeat() (float32, float32) { |
| 270 | |
| 271 | return t.udata.repeatX, t.udata.repeatY |
| 272 | } |
| 273 | |
| 274 | // SetOffset sets the offset factor |
| 275 | func (t *Texture2D) SetOffset(x, y float32) { |
no outgoing calls
no test coverage detected