内部纹理对象

interface InternalTexture {
    anisoLevel: number;
    baseMipmapLevel: number;
    compareMode: TextureCompareMode;
    depth: number;
    filterMode: FilterMode;
    gammaCorrection: number;
    gpuMemory: number;
    height: number;
    isPotSize: boolean;
    maxMipmapLevel: number;
    mipmap: boolean;
    mipmapCount: number;
    resource: any;
    useSRGBLoad: boolean;
    width: number;
    wrapU: WrapMode;
    wrapV: WrapMode;
    wrapW: WrapMode;
    dispose(): void;
}

实现于

属性

anisoLevel: number
baseMipmapLevel: number
compareMode: TextureCompareMode
depth: number
filterMode: FilterMode
gammaCorrection: number

gamma 矫正值

gpuMemory: number

bytelength

height: number
isPotSize: boolean
maxMipmapLevel: number
mipmap: boolean
mipmapCount: number
resource: any

gpu texture object

useSRGBLoad: boolean

是否使用 sRGB格式 加载图片数据

width: number
wrapU: WrapMode
wrapV: WrapMode
wrapW: WrapMode

方法