Interface GPUImageCopyTexture
interface GPUImageCopyTexture {
aspect?: GPUTextureAspect;
mipLevel?: number;
origin?: GPUOrigin3D;
texture: GPUTexture;
}
aspect?: GPUTextureAspect;
mipLevel?: number;
origin?: GPUOrigin3D;
texture: GPUTexture;
}
Hierarchy
- GPUImageCopyTexture (view full)
Properties
Optional
aspect
Optional
mipLevel
mipLevel ?: number
Mip-map level of the GPUImageCopyTexture#texture to copy to/from.
Optional
origin
Defines the origin of the copy - the minimum corner of the texture sub-region to copy to/from.
Together with copySize
, defines the full copy sub-region.
texture
Texture to copy to/from.
Defines which aspects of the GPUImageCopyTexture#texture to copy to/from.