• Generates mip levels from level 0 to the last mip for an existing texture

    The texture must have been created with TEXTURE_BINDING and RENDER_ATTACHMENT and been created with mip levels

    参数

    • device: GPUDevice

      A GPUDevice

    • texture: GPUTexture

      The texture to create mips for

    • 可选textureBindingViewDimension: GPUTextureViewDimension

      This is only needed in compatibility mode and it is only needed when the texture is going to be used as a cube map.

    返回 void

MMNEPVFCICPMFPCPTTAAATR