Skip to main content

sampler2d_sub_copy_same_item_size

sampler2d_sub_copy_same_item_size(destination, source, sourceX, sourceY, destinationX, destinationY, width, height)

Copy a patch from another sampler with the same itemSize

Kind: global function

ParamTypeDescription
destinationSampler2D
sourceSampler2Dwhere to copy from
sourceXNumberwhere to start reading from, X coordinate
sourceYNumberwhere to start reading from, X coordinate
destinationXNumberwhere to start writing to, X coordinate
destinationYNumberwhere to start writing to, X coordinate
widthNumbersize of the patch that is to be copied
heightNumbersize of the patch that is to be copied