docs.unity3d.com
    Show / Hide Table of Contents

    Enum ErrorCode

    Describes an error during the texture import.

    Namespace: KtxUnity
    Syntax
    public enum ErrorCode

    Fields

    Name Description Value
    Success

    Texture import was successful.


    0
    UnsupportedVersion

    KTX v1 is not supported.


    1
    UnsupportedFormat

    The GraphicsFormat is unsupported by KTX Unity.


    2
    FormatUnsupportedBySystem

    The GraphicsFormat is unsupported by the current system.


    3
    NotSuperCompressed

    Only super-compressed KTX is supported.


    4
    OpenUriFailed

    Loading from URI returned a WebRequest error.


    5
    LoadingFailed

    Loading texture data failed.


    6
    TranscodeFailed

    Transcoding to GraphicsFormat failed.


    7
    InvalidLayer

    Layer index exceeds layer count.


    8
    InvalidLevel

    MipMap level exceeds level count.


    9
    InvalidFace

    Face slice exceeds face count.


    10
    InvalidSlice

    Face slice exceeds base depth.


    11
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023