The WebGL Computational Library
Documentation Installation Textures Texture Float32Texture Int32Texture Uint32Texture ImageTexture CanvasTexture TableTexture copyTexture Solvers Solver Copy setUniformInSolvers setUniformsInSolvers SignalPlot Plot1D Plot2D Tvsx VolumeRayCaster getColormapList Probe TextureReader ProbeRecorder IntervalCaller saveCanvas APD OrbitalCameraControl MouseListener ClickListener DoubleClickListener CtrlClickListener ShiftClickListener CommandClickListener CtrlShiftClickListener ShiftCtrlClickListener LongClickListener Storage saveToXML loadFromXML xorwow random Gui Editor glMatrix


Creates a solver that when renderred, copies a Float32Texture into another Float32Texture. If the size of the destination texture is different from the source, linear interpolation will be used to calculate the destination texture from the source texture.


The constructor can be utilized as follows:

var coppierInstance = new Abubu.Copy(sourceTexture, destinationTexture) ;

where sourceTexture and destinationTexture are as their name implies source and destination textures of type Float32Texture.

Instance methods


// Create the copier
var coppier = new Abubu.Copy(sourceTexture, destinationTexture) ;

// run coppier 
coppier.render() ;