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

Method Destroy

vgpu/texture.go:24–27  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22}
23
24func (tx *Texture) Destroy() {
25 tx.Sampler.Destroy(tx.Image.Dev)
26 tx.Image.Destroy()
27}
28
29// AllocTexture allocates texture device image, stdview, and sampler
30func (tx *Texture) AllocTexture() {

Callers

nothing calls this directly

Calls 1

DestroyMethod · 0.65

Tested by

no test coverage detected