Members | Methods |
---|---|
Script for shader configuration
- requires webgl module, ui_components.js, loader.js
- build* methods render static pages
- run* methods accept callback and run an interactive selection
- Source:
Members
(static) picker
Shader picking
- Source:
(static) uiRenderers
Render number by its value, a map of [uiType] => function values
- Source:
Methods
(static) buildShadersAndControlsDocs(nodeId)
Prints info about shaders and controls available
Parameters:
Name | Type | Description |
---|---|---|
nodeId |
DOM ID or node to render the content into |
- Source:
(static) runControlSelector(nodeId, shaderId, onFinish)
Run controls selector for given shader
Parameters:
Name | Type | Description |
---|---|---|
nodeId |
DOM ID or node to render the content into | |
shaderId |
shader ID to configure controls for | |
onFinish |
callback, argument is the visualization config with given shader and controls |
- Source:
(static) runShaderAndControlSelector(nodeId, onFinish)
Run shader and controls selector
Parameters:
Name | Type | Description |
---|---|---|
nodeId |
DOM ID or node to render the content into | |
onFinish |
callback, argument is the visualization config with given shader and controls |
- Source:
(static) runShaderSelector(nodeId, onFinish,)
Run shader sĨelector
Parameters:
Name | Type | Description |
---|---|---|
nodeId |
DOM ID or node to render the content into | |
onFinish, |
callback with shader ID as argument |
- Source:
(static) setData(data)
Set data for realtime data postprocessing - interactive selector can render 'how it looks'
Parameters:
Name | Type | Description |
---|---|---|
data |
Image | Canvas | to process |
- Source: