API reference
Preparing search index…

ImGui.FontTextureView

Atlas texture data view.

interface FontTextureView {
    bytesPerPixel: number;
    height: number;
    pixels: Uint8Array;
    width: number;
}
Source & inheritance
Member directory4

Properties

Properties

bytesPerPixel: number

Pixel stride in bytes: 1 for Alpha8, 4 for RGBA32.

Source & inheritance
height: number

Atlas texture height in pixels.

Source & inheritance
pixels: Uint8Array

Borrowed atlas pixels; invalid after texture data is cleared or rebuilt.

Source & inheritance
width: number

Atlas texture width in pixels.

Source & inheritance

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