MCPcopy Index your code
hub / github.com/EngoEngine/engo / Open

Method Open

common/render_framebuffer.go:107–115  ·  view source on GitHub ↗
(width, height int)

Source from the content-addressed store, hash-verified

105}
106
107func (fb *Framebuffer) Open(width, height int) {
108 if fb.isOpen {
109 return
110 }
111 engo.Gl.BindFrameBuffer(fb.fbo)
112 fb.oldVP = engo.Gl.GetViewport()
113 engo.Gl.Viewport(0, 0, width, height)
114 fb.isOpen = true
115}
116
117func (fb *Framebuffer) Close() {
118 if !fb.isOpen {

Callers 6

openFileFunction · 0.80
openFileFunction · 0.80
openFileFunction · 0.80
openFileFunction · 0.80
openFileFunction · 0.80
openFileFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected