Documentation
    Preparing search index...

    No description provided.

    Index
    glTexture: WebGLTexture

    No description provided.

    • Create a Cubemap from a single texture containing six textures in a "box-net" layout.

          0    1    2    3
      ┌────┬────┬────┬────┐
      0 │ │ up │ │ │
      ├────┼────┼────┼────┤
      1lffdrtbk
      ├────┼────┼────┼────┤
      2 │ │ dn │ │ │
      └────┴────┴────┴────┘

      Parameters

      • engine: IEngine

        Engine instance.

      • path: string

        Path to texture file containing the cubemap textures in a box-net layout.

      Returns Promise<Cubemap>