GPUImageCopyTexture constructor
GPUImageCopyTexture({
- required GPUTexture texture,
- int? mipLevel,
- dynamic origin,
- 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);