Skip to main content

sampler2d_transfer_data

sampler2d_transfer_data(source, destination)

Allows copying data from one sampler to another with unequal number of channels (a.itemSize !== b.itemSize)

Kind: global function

ParamType
sourceSampler2D
destinationSampler2D

Example

convert RGBA to RGB or R to RGB