copyExternalImageToTexture method
void
copyExternalImageToTexture(
- GPUImageCopyExternalImage source,
- GPUImageCopyTextureTagged destination,
- GPUExtent3D copySize
The copyExternalImageToTexture()
method of the
GPUQueue interface copies a snapshot taken from a source image, video,
or canvas into a given GPUTexture.
Using this function allows the user agent to determine the most efficient way to copy the data over for each source type.
Implementation
external void copyExternalImageToTexture(
GPUImageCopyExternalImage source,
GPUImageCopyTextureTagged destination,
GPUExtent3D copySize,
);