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

Method Destroy

vgpu/renderframe.go:163–169  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

161}
162
163func (rf *RenderFrame) Destroy() {
164 rf.Free()
165 if rf.OwnDevice {
166 rf.Device.Destroy()
167 }
168 rf.GPU = nil
169}
170
171// SubmitRender submits a rendering command that must have been added
172// to the given command buffer, calling CmdEnd on the buffer first.

Callers 1

mainFunction · 0.95

Calls 2

FreeMethod · 0.95
DestroyMethod · 0.65

Tested by

no test coverage detected