Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/fogleman/nes
/ Purge
Method
Purge
ui/texture.go:42–51 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
40
}
41
42
func
(t *Texture) Purge() {
43
for
{
44
select
{
45
case
path := <-t.ch:
46
delete(t.lookup, path)
47
default:
48
return
49
}
50
}
51
}
52
53
func
(t *Texture) Bind() {
54
gl.BindTexture(gl.TEXTURE_2D, t.texture)
Callers
1
Update
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected