new lookupTable2D(arg) → {geo.webgl.lookupTable2D}
- Description:
Create a new instance of class webgl_lookupTable2D.
- Source:
Parameters:
Name | Type | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
arg |
object | Options object. Properties
|
Returns:
Extends
- vgl.texture
Methods
colorTable(valopt) → {Array.<number>|this}
- Description:
Get/set color table.
- Source:
Parameters:
Name | Type | Attributes | Description |
---|---|---|---|
val |
Array.<number> |
<optional> |
An array of RGBARGBA... integers on a scale
of [0, 255]. |
Returns:
- Type
- Array.<number> | this
maxWidth() → {number}
- Description:
Get maxWidth value.
- Source:
Returns:
The maxWidth of the texture used.
- Type
- number
setup(renderState)
- Description:
Create lookup table, initialize parameters, and bind data to it.
- Source:
Parameters:
Name | Type | Description |
---|---|---|
renderState |
vgl.renderState | An object that contains the context used for drawing. |