copyBufferToTexture method

void copyBufferToTexture(
  1. GPUImageCopyBuffer source,
  2. GPUImageCopyTexture destination,
  3. GPUExtent3D copySize
)

The copyBufferToTexture() method of the GPUCommandEncoder interface encodes a command that copies data from a GPUBuffer to a GPUTexture.

Implementation

external void copyBufferToTexture(
  GPUImageCopyBuffer source,
  GPUImageCopyTexture destination,
  GPUExtent3D copySize,
);