Function writeTexture

  • Writes subregion of data array to a texture.

    Parameters

    • device: Device

      the GPU device

    • texture: ImageCopyTexture

      the texture subregion to write to.

    • data: ArrayBufferView

      the texture data

    • layout: ImageDataLayout

      the data layout

    • Optional size: Extent3D

      the size of the data subregion to write

    Returns void

Generated using TypeDoc