GPUImageCopyTexture

  • texture: GPUTexturerequired

    GPUTexture

    • label: USVString
    • width: GPUIntegerCoordinate
    • height: GPUIntegerCoordinate
    • depthOrArrayLayers: GPUIntegerCoordinate
    • mipLevelCount: GPUIntegerCoordinate
    • sampleCount: GPUSize32
    • dimension: GPUTextureDimension
    • format: GPUTextureFormat
    • usage: GPUTextureUsageFlags
    • createView(descriptor: GPUTextureViewDescriptor): GPUTextureView
    • destroy(): void
  • mipLevel: GPUIntegerCoordinate= 0

    GPUIntegerCoordinate

    typedef GPUIntegerCoordinate = unsigned long
  • origin: GPUOrigin3D= { … }

    GPUOrigin3D

    typedef GPUOrigin3D = sequence<GPUIntegerCoordinate> | GPUOrigin3DDict

    GPUIntegerCoordinate

    typedef GPUIntegerCoordinate = unsigned long

    GPUOrigin3DDict

    • x: GPUIntegerCoordinate= 0
    • y: GPUIntegerCoordinate= 0
    • z: GPUIntegerCoordinate= 0
  • aspect: GPUTextureAspect= 'all'

    GPUTextureAspect

    'all', 'stencil-only', 'depth-only'