GLFilter.renderToTarget

Transforms input into output using func on through FBO.

Parameters

inputthe input texture
outputthe output texture
functhe function to transform input into output. called with data

Returns

the return value of func