Luxar Viewer API Documentation - v2026.9.22
    Preparing search index...

    Function createMeshTexture

    • Build a GPU texture from a decoded mesh texture payload.

      The caller owns disposal. For the bitmap arm the returned texture holds the ImageBitmap, so disposing the texture is what releases it. The compressed arm returns the decoder-owned texture instance after applying mesh sampling state; applyMeshTexture transfers that instance to geometry-owned disposal.

      Parameters

      Returns Texture