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

Method BeginCmdOneTime

vgpu/cmds.go:72–75  ·  view source on GitHub ↗

BeginCmdOneTime does BeginCommandBuffer with OneTimeSubmit set on buffer

()

Source from the content-addressed store, hash-verified

70
71// BeginCmdOneTime does BeginCommandBuffer with OneTimeSubmit set on buffer
72func (cp *CmdPool) BeginCmdOneTime() vk.CommandBuffer {
73 CmdBeginOneTime(cp.Buff)
74 return cp.Buff
75}
76
77// SubmitWait does Submit, WaitIdle on Buffer
78func (cp *CmdPool) SubmitWait(dev *Device) {

Callers 3

TransferRegsToGPUMethod · 0.80
TransferRegsFromGPUMethod · 0.80

Calls 1

CmdBeginOneTimeFunction · 0.85

Tested by

no test coverage detected