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

Method IsActive

vgpu/image.go:365–367  ·  view source on GitHub ↗

IsActive returns true if the image is set and has a view

()

Source from the content-addressed store, hash-verified

363
364// IsActive returns true if the image is set and has a view
365func (im *Image) IsActive() bool {
366 return im.HasFlag(ImageActive)
367}
368
369// IsHostActive returns true if the Host accessible version of image is
370// active and ready to use

Callers 3

BindStatVarMethod · 0.80
ConfigGrabMethod · 0.80
TextureValidIndexMethod · 0.80

Calls 1

HasFlagMethod · 0.95

Tested by

no test coverage detected