C# Class ImGuiNET.NativeFontAtlas

Mostra file Open project: mellinoe/ImGui.NET Class Usage Examples

Public Properties

Property Type Description
ConfigData ImVector
Fonts ImVector
TexDesiredWidth System.IntPtr
TexHeight System.IntPtr
TexID void*
TexPixelsAlpha8 byte*
TexPixelsRGBA32 System.UIntPtr
TexUvWhitePixel Vector2
TexWidth System.IntPtr

Property Details

ConfigData public_oe property

ImVector(ImFontConfig). Internal data
public ImVector,ImGuiNET ConfigData
return ImVector

Fonts public_oe property

(ImVector(ImFont*)
public ImVector,ImGuiNET Fonts
return ImVector

TexDesiredWidth public_oe property

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
return System.IntPtr

TexHeight public_oe property

Texture height calculated during Build().
public IntPtr,System TexHeight
return System.IntPtr

TexID public_oe property

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
return void*

TexPixelsAlpha8 public_oe property

1 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight
public byte* TexPixelsAlpha8
return byte*

TexPixelsRGBA32 public_oe property

4 component per pixel, each component is unsigned 8-bit. Total size = TexWidth * TexHeight * 4
public UIntPtr,System TexPixelsRGBA32
return System.UIntPtr

TexUvWhitePixel public_oe property

Texture coordinates to a white pixel (part of the TexExtraData block)
public Vector2 TexUvWhitePixel
return Vector2

TexWidth public_oe property

Texture width calculated during Build().
public IntPtr,System TexWidth
return System.IntPtr