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

Function createPointShader

stackgl_modules/index.js:17909–17916  ·  view source on GitHub ↗
(gl)

Source from the content-addressed store, hash-verified

17907}
17908
17909function createPointShader(gl) {
17910 var shader = createShader(gl, pointShader.vertex, pointShader.fragment)
17911 shader.attributes.position.location = 0
17912 shader.attributes.color.location = 2
17913 shader.attributes.uv.location = 3
17914 shader.attributes.pointSize.location = 4
17915 return shader
17916}
17917
17918function createPickShader(gl) {
17919 var shader = createShader(gl, pickShader.vertex, pickShader.fragment)

Callers 1

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…