TransferToGPU transfers entire staging to GPU for all buffs
()
| 379 | |
| 380 | // TransferToGPU transfers entire staging to GPU for all buffs |
| 381 | func (mm *Memory) TransferToGPU() { |
| 382 | for bt := VtxIndexBuff; bt < BuffTypesN; bt++ { |
| 383 | mm.TransferToGPUBuff(bt) |
| 384 | } |
| 385 | } |
| 386 | |
| 387 | // TransferToGPUBuff transfers entire staging to GPU for given buffer |
| 388 | func (mm *Memory) TransferToGPUBuff(bt BuffTypes) { |
nothing calls this directly
no test coverage detected