Taos API Reference
    Preparing search index...

    Function loadHeightmapRaw16

    • Fetch a raw little-endian uint16 height field (e.g. the terrain stitcher's .r16 output) into an r16float texture + normalized CPU field. No denoising is applied — 16-bit sources don't have the 8-bit/JPG noise the image loader blurs away. Square fields can omit resolution (inferred from the byte length).

      Parameters

      • device: GPUDevice
      • url: string
      • Optionalresolution: number

      Returns Promise<LoadedHeightmap>