API

Function updateTextureRegion

  • Upload CPU bytes into a box of any texture Lite created with copy-destination usage, in the texture's own format (rgba16float tiles, r32uint tables, ...), into any mip level and array layers. The data is read through data.buffer at data.byteOffset + dataOffset, so no view is created; the region object is the caller's and is reused. Ordered on the queue before the next submitted frame.

    Parameters

    Returns void