n3-lib TypeScript API
    Preparing search index...

    Function createTexture

    • Construct an NTF from editable RGBA, including engine-compatible fallback images.

      Parameters

      • width: number
      • height: number
      • rgba: Uint8Array
      • format: number = TextureFormat.ARGB8
      • mips: boolean = true

      Returns Texture