Context.setBlendingFunctions

Sets the blending functions for the source and destination buffer at the index. Blending must be enabled with {@link #enableCapability(org.spout.renderer.api.gl.Context.Capability)}. <p/> Support for specifying the buffer index is only available in GL40.

@param bufferIndex The index of the target buffer @param source The source function @param destination The destination function

  1. void setBlendingFunctions(BlendFunction source, BlendFunction destination)
  2. void setBlendingFunctions(int bufferIndex, BlendFunction source, BlendFunction destination)
    class Context
    abstract
    void
    setBlendingFunctions

Meta