MCPcopy Create free account
hub / github.com/WarFrontIO/client / bind

Method bind

src/renderer/GameGLContext.ts:223–227  ·  view source on GitHub ↗

* Binds everything needed to prepare rendering. * @param program The program to use * @param vertexArray The vertex array to use * @param framebuffer The framebuffer to use, if not specified rendering to already bound framebuffer

(program: WebGLProgram, vertexArray: WebGLVertexArrayObject | null, framebuffer: WebGLFramebuffer | null = null)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 15

tryStartGameFunction · 0.80
PlayerManager.tsFile · 0.80
drawTextMethod · 0.80
renderFunction · 0.80
renderMethod · 0.80
BackgroundLayer.tsFile · 0.80
renderMethod · 0.80
forceRepaintMethod · 0.80
buildDetailFunction · 0.80
renderMethod · 0.80

Calls 1

bindFramebufferMethod · 0.80

Tested by

no test coverage detected