blendFunction

vgl. blendFunction

new blendFunction(source, destination) → {vgl.blendFunction}

Description:
  • Create a new instance of class blendFunction.

Source:
Parameters:
Name Type Description
source number

GL source constant.

destination number

GL destination constant.

Returns:
Type
vgl.blendFunction

Methods

apply(renderState)

Description:
  • Apply blend function to the current state.

Source:
Parameters:
Name Type Description
renderState vgl.renderState

The state that contains the current render context.