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

ImGui.ImFontAtlasFields

图集构建配置;应在构建前修改,不要在帧锁定期间修改。

interface ImFontAtlasFields {
    Flags: number;
    TexDesiredWidth: number;
    TexGlyphPadding: number;
    TexID: bigint;
}
源码与继承
成员目录4

属性

属性

Flags: number

控制纹理打包和辅助图形烘焙的 ImFontAtlasFlags。

源码与继承
TexDesiredWidth: number

请求的纹理像素宽度;零表示自动,否则应为二的幂。

源码与继承
TexGlyphPadding: number

图集中字形之间的像素间距,通常为一。

源码与继承
TexID: bigint

无符号 64 位渲染器纹理 ID,本身不是纹理分配。

源码与继承

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