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

Method bufferData

src/renderer/GameGLContext.ts:204–207  ·  view source on GitHub ↗

* Sets the data of the given buffer. * @param buffer The buffer to set the data of * @param data The data to set * @param usage The usage of the data. Recommendations: WebGL2RenderingContext.STREAM_DRAW WebGL2RenderingContext.STATIC_DRAW {@link WebGL2RenderingContext.DYNAMIC_DR

(buffer: WebGLBuffer, data: ArrayBufferView, usage: GLenum)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 10

createVertexArrayMethod · 0.80
drawTextMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
renderMethod · 0.80
initMethod · 0.80
initMethod · 0.80
renderMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected