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

Method IsHostOwner

vgpu/image.go:381–383  ·  view source on GitHub ↗

IsHostOwner returns true if the host buffer is owned by us

()

Source from the content-addressed store, hash-verified

379
380// IsHostOwner returns true if the host buffer is owned by us
381func (im *Image) IsHostOwner() bool {
382 return im.HasFlag(ImageOwnsHost)
383}
384
385// IsValue returns true if the image belongs to a Value
386func (im *Image) IsValue() bool {

Callers 4

FreeHostMethod · 0.95
SetSizeMethod · 0.95
ConfigValueHostMethod · 0.95
TransferTexturesToGPUMethod · 0.80

Calls 1

HasFlagMethod · 0.95

Tested by

no test coverage detected