blend

vgl. blend

new blend() → {vgl.blend}

Description:
  • Create a new instance of class blend.

Source:
Returns:
Type
vgl.blend

Extends

Methods

bind(renderState) → {boolean}

Description:
  • Bind blend attribute.

Source:
Parameters:
Name Type Description
renderState vgl.renderState

The state containing the context.

Returns:

True if bound.

Type
boolean

bindVertexData(renderState, key) → {boolean}

Description:
  • Bind and activate vertex specific data.

Source:
Inherited From:
Parameters:
Name Type Description
renderState vgl.renderState
key string
Returns:
Type
boolean

enabled() → {boolean}

Description:
  • Return if material attribute is enabled or not.

Source:
Inherited From:
Returns:
Type
boolean

type() → {number}

Description:
  • Return type of the material attribute.

Source:
Inherited From:
Returns:
Type
number

undoBind(renderState) → {boolean}

Description:
  • Undo bind blend attribute.

Source:
Parameters:
Name Type Description
renderState vgl.renderState

The state containing the context.

Returns:

True if unbound.

Type
boolean

undoBindVertexData(renderState, key) → {boolean}

Description:
  • Undo bind and deactivate vertex specific data.

Source:
Inherited From:
Parameters:
Name Type Description
renderState vgl.renderState
key string
Returns:
Type
boolean