API 参考
正在准备搜索索引…

ReadonlyTexture

ReadonlyTexture: Readonly<
    Pick<
        Texture,
        | typeof graphicsNative
        | typeof textureId
        | typeof textureOwner
        | "getSize"
        | "copyToImage"
        | "isSmooth"
        | "isRepeated"
        | "isSrgb"
        | "getNativeHandle",
    >,
>

同一个纹理资源的编译时 const 引用。

源码与继承

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0