@pixi/compressed-textures

    6.2.0 • Public • Published

    @pixi/compressed-textures

    This packages contains the loaders for compressed texture file formats, namely:

    Extension Description Notes
    .dds DirectDraw Surface Support for cubemap, 3D textures not included
    .ktx Khronos Texture Container Support for cubemap, 3D textures not included
    .json PixiJS Compressed Textures Manifest Fallback to uncompressed textures included

    Installation

    npm install @pixi/compressed-textures

    Usage

    import { CompressedTextureLoader, DDSLoader, KTXLoader } from '@pixi/compressed-textures';
    import { Loader } from '@pixi/loaders';
    
    Loader.registerPlugin(CompressedTextureLoader);
    Loader.registerPlugin(DDSLoader);
    Loader.registerPlugin(KTXLoader);

    Install

    npm i @pixi/compressed-textures

    DownloadsWeekly Downloads

    35,556

    Version

    6.2.0

    License

    MIT

    Unpacked Size

    804 kB

    Total Files

    16

    Last publish

    Collaborators

    • andrewstart
    • bigtimebuddy
    • ivan.popelyshev