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

ImGui.FontTextureView

字体图集贴图数据视图。

interface FontTextureView {
    bytesPerPixel: number;
    height: number;
    pixels: Uint8Array;
    width: number;
}
源码与继承
成员目录4

属性

属性

bytesPerPixel: number

每像素的字节数:Alpha8 为 1,RGBA32 为 4。

源码与继承
height: number

图集贴图的像素高度。

源码与继承
pixels: Uint8Array

借用的图集像素;清除或重建贴图数据后失效。

源码与继承
width: number

图集贴图的像素宽度。

源码与继承

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