Texture val functions AllocTextures allocates images on device memory only called on Role = TextureRole
(mm *Memory)
| 481 | // AllocTextures allocates images on device memory |
| 482 | // only called on Role = TextureRole |
| 483 | func (vs *Values) AllocTextures(mm *Memory) { |
| 484 | vals := vs.ActiveValues() |
| 485 | for _, vl := range vals { |
| 486 | if vl.Texture == nil { |
| 487 | continue |
| 488 | } |
| 489 | vl.Texture.Dev = mm.Device.Device |
| 490 | vl.Texture.AllocTexture() |
| 491 | } |
| 492 | } |
| 493 | |
| 494 | ///////////////////////////////////////////////////////////////////// |
| 495 | // ValueFlags |
nothing calls this directly
no test coverage detected