new lookupTable() → {vgl.lookupTable}
- Description:
Create a new instance of class lookupTable.
- Source:
Returns:
- Type
- vgl.lookupTable
Methods
colorTable() → {Array.<number>}
- Description:
Get color table used by the lookup table.
- Source:
Returns:
- Type
- Array.<number>
setColorTable(colors) → {boolean}
- Description:
Set color table used by the lookup table.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
colors |
Array.<number> |
Returns:
- Type
- boolean
setup(renderState)
- Description:
Create lookup table, initialize parameters, and bind data to it.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
renderState |
vgl.renderState |