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

Method bindTexture

src/renderer/GameGLContext.ts:259–262  ·  view source on GitHub ↗

* Binds the given texture. * @param texture The texture to bind * @param unit Texture unit to use, if not specified active one is used (only specify offset)

(texture: WebGLTexture, unit: number | null = null)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 8

createTextureMethod · 0.80
drawTextMethod · 0.80
renderFunction · 0.80
renderMethod · 0.80
forceRepaintMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected