MCPcopy Create free account
hub / github.com/cogentcore/core / TransferToGPU

Method TransferToGPU

vgpu/memory.go:381–385  ·  view source on GitHub ↗

TransferToGPU transfers entire staging to GPU for all buffs

()

Source from the content-addressed store, hash-verified

379
380// TransferToGPU transfers entire staging to GPU for all buffs
381func (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
388func (mm *Memory) TransferToGPUBuff(bt BuffTypes) {

Callers

nothing calls this directly

Calls 1

TransferToGPUBuffMethod · 0.95

Tested by

no test coverage detected