Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
19
func
(tx *Texture) Defaults() {
20
tx.Image.Format.Defaults()
21
tx.Sampler.Defaults()
22
}
23
24
func
(tx *Texture) Destroy() {
25
tx.Sampler.Destroy(tx.Image.Dev)
Callers
nothing calls this directly
Calls
1
Defaults
Method · 0.65
Tested by
no test coverage detected