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

Method requireProgram

src/renderer/GameGLContext.ts:54–58  ·  view source on GitHub ↗

* Creates a program with the given shaders. * @param vertexShader The vertex shader to use * @param fragmentShader The fragment shader to use * @param errorMessage The error message to throw if the program fails to load

(vertexShader: (ctx: this) => WebGLShader | null, fragmentShader: (ctx: this) => WebGLShader | null, errorMessage: string)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 11

constructorMethod · 0.80
setupFunction · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
buildDetailFunction · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80
setupMethod · 0.80

Calls 1

createProgramMethod · 0.95

Tested by

no test coverage detected