C# Класс ImGuiNET.NativeFontAtlas

Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ConfigData ImVector
Fonts ImVector
TexDesiredWidth System.IntPtr
TexHeight System.IntPtr
TexID void*
TexPixelsAlpha8 byte*
TexPixelsRGBA32 System.UIntPtr
TexUvWhitePixel Vector2
TexWidth System.IntPtr

Описание свойств

ConfigData публичное свойство

ImVector(ImFontConfig). Internal data
public ImVector,ImGuiNET ConfigData
Результат ImVector

Fonts публичное свойство

(ImVector(ImFont*)
public ImVector,ImGuiNET Fonts
Результат ImVector

TexDesiredWidth публичное свойство

Texture width desired by user before Build(). Must be a power-of-two. If have many glyphs your graphics API have texture size restrictions you may want to increase texture width to decrease height.
public IntPtr,System TexDesiredWidth
Результат System.IntPtr

TexHeight публичное свойство

Texture height calculated during Build().
public IntPtr,System TexHeight
Результат System.IntPtr

TexID публичное свойство

User data to refer to the texture once it has been uploaded to user's graphic systems. It ia passed back to you during rendering.
public void* TexID
Результат void*

TexPixelsAlpha8 публичное свойство

1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight
public byte* TexPixelsAlpha8
Результат byte*

TexPixelsRGBA32 публичное свойство

4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
public UIntPtr,System TexPixelsRGBA32
Результат System.UIntPtr

TexUvWhitePixel публичное свойство

Texture coordinates to a white pixel (part of the TexExtraData block)
public Vector2 TexUvWhitePixel
Результат Vector2

TexWidth публичное свойство

Texture width calculated during Build().
public IntPtr,System TexWidth
Результат System.IntPtr