Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
24
func
(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
30
func
(tx *Texture) AllocTexture() {
Callers
nothing calls this directly
Calls
1
Destroy
Method · 0.65
Tested by
no test coverage detected