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

Method InitCmd

vgpu/system.go:99–102  ·  view source on GitHub ↗

InitCmd initializes the command pool and buffer

()

Source from the content-addressed store, hash-verified

97
98// InitCmd initializes the command pool and buffer
99func (sy *System) InitCmd() {
100 sy.CmdPool.ConfigResettable(&sy.Device)
101 sy.CmdPool.NewBuffer(&sy.Device)
102}
103
104// Vars returns a pointer to the vars for this pipeline, which has vals within it
105func (sy *System) Vars() *Vars {

Callers 2

InitGraphicsMethod · 0.95
InitComputeMethod · 0.95

Calls 2

ConfigResettableMethod · 0.80
NewBufferMethod · 0.45

Tested by

no test coverage detected