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

Method Defaults

vgpu/texture.go:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (tx *Texture) Defaults() {
20 tx.Image.Format.Defaults()
21 tx.Sampler.Defaults()
22}
23
24func (tx *Texture) Destroy() {
25 tx.Sampler.Destroy(tx.Image.Dev)

Callers

nothing calls this directly

Calls 1

DefaultsMethod · 0.65

Tested by

no test coverage detected