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

Function createPickShader

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

Source from the content-addressed store, hash-verified

14220
14221
14222function createPickShader(gl, shaders) {
14223 var shader = createShader(gl,
14224 shaders.pickShader.vertex,
14225 shaders.pickShader.fragment,
14226 null,
14227 shaders.pickShader.attributes
14228 )
14229
14230 shader.attributes.position.location = 0
14231 shader.attributes.id.location = 1
14232 shader.attributes.vector.location = 4
14233 return shader
14234}
14235
14236
14237function createVectorMesh(gl, params, opts) {

Callers 4

createVectorMeshFunction · 0.85
createLinePlotFunction · 0.85
createSimplicialMeshFunction · 0.85
createSurfacePlotFunction · 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…