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

Method createProgram

src/renderer/GameGLContext.ts:66–91  ·  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 * @returns The program object, or null if it failed to load

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

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

requireProgramMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected