GPUImageCopyTexture constructor

GPUImageCopyTexture({
  1. required GPUTexture texture,
  2. int? mipLevel,
  3. dynamic origin,
  4. GPUTextureAspect? aspect,
})

Implementation

factory GPUImageCopyTexture(
        {required GPUTexture texture,
        int? mipLevel,
        dynamic origin,
        GPUTextureAspect? aspect}) =>
    GPUImageCopyTexture._(
        texture: texture,
        mipLevel: mipLevel ?? 0,
        origin: origin ?? undefined,
        aspect: aspect?.value ?? GPUTextureAspect.all.value);