MCPcopy Index your code
hub / github.com/plotly/plotly.js / createMeshShader

Function createMeshShader

stackgl_modules/index.js:14206–14219  ·  view source on GitHub ↗
(gl, shaders)

Source from the content-addressed store, hash-verified

14204}
14205
14206function createMeshShader(gl, shaders) {
14207 var shader = createShader(gl,
14208 shaders.meshShader.vertex,
14209 shaders.meshShader.fragment,
14210 null,
14211 shaders.meshShader.attributes
14212 )
14213
14214 shader.attributes.position.location = 0
14215 shader.attributes.color.location = 2
14216 shader.attributes.uv.location = 3
14217 shader.attributes.vector.location = 4
14218 return shader
14219}
14220
14221
14222function createPickShader(gl, shaders) {

Callers 2

createVectorMeshFunction · 0.85
createSimplicialMeshFunction · 0.85

Calls 1

createShaderFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…