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
| Param | Type | Description |
|---|---|---|
| destination | Sampler2D | |
| source | Sampler2D | where to copy from |
| sourceX | Number | where to start reading from, X coordinate |
| sourceY | Number | where to start reading from, X coordinate |
| destinationX | Number | where to start writing to, X coordinate |
| destinationY | Number | where to start writing to, X coordinate |
| width | Number | size of the patch that is to be copied |
| height | Number | size of the patch that is to be copied |