MCPcopy Index your code
hub / github.com/fogleman/nes / Bind

Method Bind

ui/texture.go:53–55  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

51}
52
53func (t *Texture) Bind() {
54 gl.BindTexture(gl.TEXTURE_2D, t.texture)
55}
56
57func (t *Texture) Unbind() {
58 gl.BindTexture(gl.TEXTURE_2D, 0)

Callers 1

UpdateMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected